mirror of
https://github.com/suitenumerique/docs
synced 2026-04-21 13:37:20 +00:00
⚡️(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.
This commit is contained in:
parent
cdea75b87f
commit
4e7f095b0f
2 changed files with 5 additions and 0 deletions
|
|
@ -18,6 +18,10 @@ and this project adheres to
|
|||
|
||||
- ⚡️(docker) improve y-provider image #422
|
||||
|
||||
## Fixed
|
||||
|
||||
- ⚡️(e2e) reduce flakiness on e2e tests #511
|
||||
|
||||
|
||||
## [1.9.0] - 2024-12-11
|
||||
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ export default defineConfig({
|
|||
forbidOnly: !!process.env.CI,
|
||||
/* Retry on CI only */
|
||||
retries: process.env.CI ? 2 : 0,
|
||||
maxFailures: process.env.CI ? 3 : 0,
|
||||
/* Opt out of parallel tests on CI. */
|
||||
workers: process.env.CI ? 3 : undefined,
|
||||
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
|
||||
|
|
|
|||
Loading…
Reference in a new issue