From c8f167cec65e277b070f7a0222c05466fe7f43e7 Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Sun, 8 Mar 2026 16:03:00 -0500 Subject: [PATCH] fix: increase e2e test parallelism and timeout for CI - Use 4 workers instead of 1 in CI for faster execution - Increase globalTimeout from 5 to 20 minutes for 1318 tests - With 4 workers, full test suite should complete in ~15 minutes --- e2e/playwright.config.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/e2e/playwright.config.ts b/e2e/playwright.config.ts index 5dcda019..73385f62 100644 --- a/e2e/playwright.config.ts +++ b/e2e/playwright.config.ts @@ -18,12 +18,12 @@ export default defineConfig({ forbidOnly: !!process.env.CI, /* Retry on CI only */ retries: process.env.CI ? 2 : 0, - /* Opt out of parallel tests on CI. */ - workers: process.env.CI ? 1 : undefined, + /* Run with limited parallelism in CI to balance speed and stability */ + workers: process.env.CI ? 4 : undefined, /* Maximum time one test can run */ timeout: 30 * 1000, - /* Maximum time for entire test run */ - globalTimeout: 5 * 60 * 1000, + /* Maximum time for entire test run (1318 tests with 4 workers ~15 minutes) */ + globalTimeout: 20 * 60 * 1000, /* Reporter to use. See https://playwright.dev/docs/test-reporters */ reporter: process.env.CI ? [['list']]