Skip to content

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

devops: reduce workers 4->3 for tests without retries (#38722)

Yury Semikhatsky1767ddf02fb6
diff --git a/tests/mcp/playwright.config.ts b/tests/mcp/playwright.config.ts
index b8ca1be8f8..2ab1df5e6b 100644
--- a/tests/mcp/playwright.config.ts
+++ b/tests/mcp/playwright.config.ts
@@ -49,7 +49,7 @@ export default defineConfig<TestOptions>({
testDir: rootTestDir,
fullyParallel: true,
forbidOnly: !!process.env.CI,
- workers: process.env.CI ? 4 : undefined,
+ workers: process.env.CI ? 3 : undefined,
reporter: reporters(),
tag: process.env.PW_TAG,
projects: [
diff --git a/tests/playwright-test/playwright.config.ts b/tests/playwright-test/playwright.config.ts
index 069a1a77cd..26bc64fbf7 100644
--- a/tests/playwright-test/playwright.config.ts
+++ b/tests/playwright-test/playwright.config.ts
@@ -34,7 +34,7 @@ const reporters = () => {
export default defineConfig({
timeout: 30000,
forbidOnly: !!process.env.CI,
- workers: process.env.CI ? 4 : undefined,
+ workers: process.env.CI ? 3 : undefined,
snapshotPathTemplate: '__screenshots__/{testFilePath}/{arg}{ext}',
projects: [
{