Skip to content

Commit 4e7f095

Browse files
committed
⚡️(e2e) set maxFailures with CI
If a test fails (retries included), the test runner will stop after reaching maxFailures. We will not have to wait for all tests to run to see the results.
1 parent cdea75b commit 4e7f095

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ and this project adheres to
1818

1919
- ⚡️(docker) improve y-provider image #422
2020

21+
## Fixed
22+
23+
- ⚡️(e2e) reduce flakiness on e2e tests #511
24+
2125

2226
## [1.9.0] - 2024-12-11
2327

src/frontend/apps/e2e/playwright.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ export default defineConfig({
1919
forbidOnly: !!process.env.CI,
2020
/* Retry on CI only */
2121
retries: process.env.CI ? 2 : 0,
22+
maxFailures: process.env.CI ? 3 : 0,
2223
/* Opt out of parallel tests on CI. */
2324
workers: process.env.CI ? 3 : undefined,
2425
/* Reporter to use. See https://playwright.dev/docs/test-reporters */

0 commit comments

Comments
 (0)