Skip to content

Commit

Permalink
adjust max-failures
Browse files Browse the repository at this point in the history
  • Loading branch information
eric2788 committed Oct 24, 2024
1 parent c394541 commit a569ba4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default defineConfig<GlobalOptions>({
fullyParallel: true,
/* Fail the build on CI if you accidentally left test.only in the source code. */
forbidOnly: !!process.env.CI,
maxFailures: process.env.CI ? 15 : undefined,
maxFailures: process.env.CI ? 3 : undefined,
/* Retry on CI only */
retries: process.env.CI ? 5 : 0,
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
Expand Down

0 comments on commit a569ba4

Please sign in to comment.