Skip to content

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

test(mcp): use 1 worker on CI (#40796)

Simon Knottcea53f459eca
diff --git a/tests/mcp/playwright.config.ts b/tests/mcp/playwright.config.ts
index 6a3895c34c..69c0419fd5 100644
--- a/tests/mcp/playwright.config.ts
+++ b/tests/mcp/playwright.config.ts
@@ -51,7 +51,7 @@ export default defineConfig<TestOptions>({
testDir: rootTestDir,
fullyParallel: true,
forbidOnly: !!process.env.CI,
- workers: undefined,
+ workers: process.env.CI ? 1 : undefined,
reporter: reporters(),
tag: process.env.PW_TAG,
// Persistent context launch (the MCP default) is genuinely slow on Windows;