Skip to content

Commit

Permalink
e2e: retry on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jamil314 committed Oct 31, 2024
1 parent 977fff8 commit 504fd10
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 @@ -16,7 +16,7 @@ export default defineConfig({
/* Fail the build on CI if you accidentally left test.only in the source code. */
forbidOnly: !!process.env.CI,
/* Retry on CI only */
retries: 0,
retries: process.env.CI ? 2 : 0,
/* Opt out of parallel tests on CI. */
workers: process.env.CI ? 1 : undefined,
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
Expand Down

0 comments on commit 504fd10

Please sign in to comment.