⚡️(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:
@@ -18,6 +18,10 @@ and this project adheres to
|
|||||||
|
|
||||||
- ⚡️(docker) improve y-provider image #422
|
- ⚡️(docker) improve y-provider image #422
|
||||||
|
|
||||||
|
## Fixed
|
||||||
|
|
||||||
|
- ⚡️(e2e) reduce flakiness on e2e tests #511
|
||||||
|
|
||||||
|
|
||||||
## [1.9.0] - 2024-12-11
|
## [1.9.0] - 2024-12-11
|
||||||
|
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ export default defineConfig({
|
|||||||
forbidOnly: !!process.env.CI,
|
forbidOnly: !!process.env.CI,
|
||||||
/* Retry on CI only */
|
/* Retry on CI only */
|
||||||
retries: process.env.CI ? 2 : 0,
|
retries: process.env.CI ? 2 : 0,
|
||||||
|
maxFailures: process.env.CI ? 3 : 0,
|
||||||
/* Opt out of parallel tests on CI. */
|
/* Opt out of parallel tests on CI. */
|
||||||
workers: process.env.CI ? 3 : undefined,
|
workers: process.env.CI ? 3 : undefined,
|
||||||
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
|
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
|
||||||
|
|||||||
Reference in New Issue
Block a user