Skip to content

Commit 0fca55b

Browse files
Add Playwright retries (2) in CI to handle intermittent e2e flakes
The home-dashboard.spec.js legacy SPA tests have a persistent timing sensitivity on CI runners that passes locally. With retries=2 in CI, transient failures self-heal instead of blocking deploys. Refs #100
1 parent 87f787a commit 0fca55b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

backend/playwright.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ module.exports = defineConfig({
3636
testDir: './e2e',
3737
outputDir: './test-results',
3838
timeout: 30000,
39-
retries: 0,
39+
retries: process.env.CI ? 2 : 0,
4040
reporter: process.env.CI
4141
? [['line'], ['html', { outputFolder: 'playwright-report', open: 'never' }]]
4242
: [['list']],

0 commit comments

Comments
 (0)