Skip to content

Commit

Permalink
fix: add retry logic for tests in CI environment
Browse files Browse the repository at this point in the history
  • Loading branch information
nelitow committed Dec 10, 2024
1 parent d53f08a commit da3046f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/app/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ export const playwrightConfig: PlaywrightTestConfig = {
channel: 'chrome-beta',
...devices['Desktop Chrome'],
},
retries: IS_CI ? 4 : 0,
},
],
testIgnore: ['playwright/crx/lock.test.ts'],
Expand Down
1 change: 1 addition & 0 deletions packages/e2e-contract-tests/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ const config: PlaywrightTestConfig = defineConfig({
channel: 'chrome-beta',
...devices['Desktop Chrome'],
},
retries: IS_CI ? 4 : 0,
},
],
});
Expand Down

0 comments on commit da3046f

Please sign in to comment.