Skip to content

Commit 23d7f33

Browse files
committed
playwright config: use all cores in CI, reduce timeout
1 parent 00c8133 commit 23d7f33

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

playwright-ct.config.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,10 @@ export default defineConfig({
1010
fullyParallel: true,
1111
forbidOnly: !!process.env.CI,
1212
retries: process.env.CI ? 1 : 0,
13-
workers: process.env.CI ? 1 : undefined,
13+
workers: process.env.CI ? '100%' : undefined,
1414
reporter: 'html',
15+
timeout: 10_000,
16+
expect: { timeout: 4000 },
1517
use: {
1618
trace: 'on-first-retry',
1719
ctViteConfig: {

0 commit comments

Comments
 (0)