Skip to content

Commit ebe0401

Browse files
committed
fix(rstest): should install playwrigth with —deps
1 parent c925edb commit ebe0401

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

tests/rslib/rstest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export async function test(options: RunOptions) {
88
branch: process.env.RSTEST ?? 'main',
99
test: ['test'],
1010
beforeTest: async () => {
11-
await $`npx playwright install chromium webkit`;
11+
await $`npx playwright install chromium webkit --with-deps`;
1212
},
1313
});
1414
}

tests/rspack/rstest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export async function test(options: RunOptions) {
99
// ignore snapshot changes
1010
test: ['test -u', 'e2e'],
1111
beforeTest: async () => {
12-
await $`npx playwright install chromium webkit`;
12+
await $`npx playwright install chromium webkit --with-deps`;
1313
},
1414
});
1515
}

0 commit comments

Comments
 (0)