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) <noreply@anthropic.com>
This commit is contained in:
John McLear 2026-03-31 17:20:57 +01:00 committed by GitHub
parent cd65f3029c
commit c048d0afd2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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: {