Skip to content

Commit

Permalink
✅(frontend) config retry flaky test
Browse files Browse the repository at this point in the history
Flaky test retry needs to be increased.
  • Loading branch information
kernicPanel committed Dec 11, 2024
1 parent 7501b40 commit e1717b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/frontend/admin/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ 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: process.env.CI ? 2 : 0,
retries: process.env.CI ? 4 : 2,
/* Opt out of parallel tests on CI. */
workers: process.env.CI ? 1 : undefined,
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
reporter: "html",
reporter: "list",
testMatch: "**/*.test.e2e.?(c|m)[jt]s?(x)",
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
use: {
Expand Down

0 comments on commit e1717b5

Please sign in to comment.