Skip to content

Commit bce44e0

Browse files
IObertclaude
andcommitted
ci: raise Playwright worker count on CI from 1 to 4
workers was hardcoded to 1 on CI, serializing all 150 test instances (30 tests x 5 browser projects) despite fullyParallel: true, turning a ~2 min suite into 25+ min and causing PR test runs to approach the job timeout. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
1 parent 8da3534 commit bce44e0

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

playwright.config.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ export default defineConfig({
2121
forbidOnly: !!process.env.CI,
2222
/* Retry on CI only */
2323
retries: process.env.CI ? 2 : 0,
24-
/* Opt out of parallel tests on CI. */
25-
workers: process.env.CI ? 1 : undefined,
24+
workers: process.env.CI ? 4 : undefined,
2625
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
2726
reporter: "html",
2827
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */

0 commit comments

Comments
 (0)