File tree Expand file tree Collapse file tree 3 files changed +12
-3
lines changed
Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 11import type { RunOptions } from '../../types' ;
2- import { runInRepo } from '../../utils' ;
2+ import { $ , runInRepo } from '../../utils' ;
33
44export async function test ( options : RunOptions ) {
55 await runInRepo ( {
@@ -8,5 +8,8 @@ export async function test(options: RunOptions) {
88 branch : process . env . RSTEST ?? 'main' ,
99 // ignore snapshot changes
1010 test : [ 'test -u' ] ,
11+ beforeTest : async ( ) => {
12+ await $ `npx playwright install chromium webkit` ;
13+ } ,
1114 } ) ;
1215}
Original file line number Diff line number Diff line change 11import type { RunOptions } from '../../types' ;
2- import { runInRepo } from '../../utils' ;
2+ import { $ , runInRepo } from '../../utils' ;
33
44export async function test ( options : RunOptions ) {
55 await runInRepo ( {
66 ...options ,
77 repo : 'web-infra-dev/rstest' ,
88 branch : process . env . RSTEST ?? 'main' ,
99 test : [ 'test' ] ,
10+ beforeTest : async ( ) => {
11+ await $ `npx playwright install chromium webkit` ;
12+ } ,
1013 } ) ;
1114}
Original file line number Diff line number Diff line change 11import type { RunOptions } from '../../types' ;
2- import { runInRepo } from '../../utils' ;
2+ import { $ , runInRepo } from '../../utils' ;
33
44export async function test ( options : RunOptions ) {
55 await runInRepo ( {
@@ -8,5 +8,8 @@ export async function test(options: RunOptions) {
88 branch : process . env . RSTEST ?? 'main' ,
99 // ignore snapshot changes
1010 test : [ 'test -u' , 'e2e' ] ,
11+ beforeTest : async ( ) => {
12+ await $ `npx playwright install chromium webkit` ;
13+ } ,
1114 } ) ;
1215}
You can’t perform that action at this time.
0 commit comments