From 8a603365a8499cc1656803f17790151d4dc3e84c Mon Sep 17 00:00:00 2001 From: Sem Bauke Date: Thu, 12 Mar 2026 16:12:08 +0100 Subject: [PATCH] fix: add max failures for unique PW tests to unclog CI (#66368) --- e2e/playwright.config.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/e2e/playwright.config.ts b/e2e/playwright.config.ts index 8737aba92a6..71c53600d27 100644 --- a/e2e/playwright.config.ts +++ b/e2e/playwright.config.ts @@ -17,6 +17,8 @@ export default defineConfig({ fullyParallel: false, /* Fail the build on CI if you accidentally left test.only in the source code. */ forbidOnly: !!process.env.CI, + /* Fast-fail CI once failures exceed 5 tests. */ + maxFailures: process.env.CI ? 6 : undefined, /* Retry on CI only */ retries: process.env.CI ? 2 : 0, /* Opt out of parallel tests on CI. */