Skip to content

πŸ™Œ OpenHands: AI-Driven Development

ci: increase Playwright CI workers from 1 to 2 (#495)

Rohit Malhotrac3de18580d67
diff --git a/playwright.config.ts b/playwright.config.ts
index a1bb6fd0d5..9bef839210 100644
--- a/playwright.config.ts
+++ b/playwright.config.ts
@@ -20,8 +20,9 @@ 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,
+ /* Use 2 workers on CI (matches ubuntu-24.04's 2 vCPUs). Tests are isolated
+ * per browser context so parallel execution is safe. */
+ workers: process.env.CI ? 2 : undefined,
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
reporter: "html",