fix: add max failures for unique PW tests to unclog CI (#66368)

This commit is contained in:
Sem Bauke
2026-03-12 16:12:08 +01:00
committed by GitHub
parent 96b8af5e0f
commit 8a603365a8
+2
View File
@@ -17,6 +17,8 @@ export default defineConfig({
fullyParallel: false, fullyParallel: false,
/* Fail the build on CI if you accidentally left test.only in the source code. */ /* Fail the build on CI if you accidentally left test.only in the source code. */
forbidOnly: !!process.env.CI, forbidOnly: !!process.env.CI,
/* Fast-fail CI once failures exceed 5 tests. */
maxFailures: process.env.CI ? 6 : undefined,
/* Retry on CI only */ /* Retry on CI only */
retries: process.env.CI ? 2 : 0, retries: process.env.CI ? 2 : 0,
/* Opt out of parallel tests on CI. */ /* Opt out of parallel tests on CI. */