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']]