From c048d0afd232fb3e90b60d69af22875a2726974e Mon Sep 17 00:00:00 2001 From: John McLear Date: Tue, 31 Mar 2026 17:20:57 +0100 Subject: [PATCH] Disable Playwright test retries to surface real failures (#7415) Set retries to 0 so test failures are reported honestly. With retries: 2, tests could fail twice and still pass on the third attempt, hiding real bugs as "flaky" tests that count as passing. Co-authored-by: Claude Opus 4.6 (1M context) --- src/playwright.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/playwright.config.ts b/src/playwright.config.ts index 1aae7d7a4..583c4f920 100644 --- a/src/playwright.config.ts +++ b/src/playwright.config.ts @@ -16,7 +16,7 @@ export default defineConfig({ reporter: process.env.CI ? 'github' : 'html', expect: { timeout: defaultExpectTimeout }, timeout: defaultTestTimeout, - retries: 2, + retries: 0, workers: 5, /* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */ use: {