Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

test: stress runners (#15078)

Pavel Feldman1ce1246a0e4e
diff --git a/tests/library/playwright.config.ts b/tests/library/playwright.config.ts
index c0620737f9..17c49b2e35 100644
--- a/tests/library/playwright.config.ts
+++ b/tests/library/playwright.config.ts
@@ -52,7 +52,7 @@ const config: Config<CoverageWorkerOptions & PlaywrightWorkerOptions & Playwrigh
maxFailures: 100,
timeout: video ? 60000 : 30000,
globalTimeout: 5400000,
- workers: process.env.CI ? 1 : undefined,
+ workers: process.env.CI ? 2 : undefined,
fullyParallel: !process.env.CI,
forbidOnly: !!process.env.CI,
preserveOutput: process.env.CI ? 'failures-only' : 'always',
diff --git a/tests/playwright-test/playwright.config.ts b/tests/playwright-test/playwright.config.ts
index d9880ed624..518d56907e 100644
--- a/tests/playwright-test/playwright.config.ts
+++ b/tests/playwright-test/playwright.config.ts
@@ -26,7 +26,7 @@ const config: Config = {
testIgnore: ['assets/**', 'stable-test-runner/**'],
timeout: 30000,
forbidOnly: !!process.env.CI,
- workers: process.env.CI ? 1 : undefined,
+ workers: process.env.CI ? 2 : undefined,
preserveOutput: process.env.CI ? 'failures-only' : 'always',
projects: [
{