Skip to content

Commit

Permalink
Configure Playwright to retry failed tests (#730)
Browse files Browse the repository at this point in the history
[Configure Playwright][] to retry a failed test at least twice
before considering it failed. This should help cut down on CI flakiness.

[Configure Playwright]: https://playwright.dev/docs/test-configuration
  • Loading branch information
seanpdoyle committed Sep 23, 2022
1 parent 530bde2 commit 399658a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions playwright.config.ts
Expand Up @@ -11,6 +11,7 @@ const config: PlaywrightTestConfig = {
use: { ...devices["Desktop Firefox"] },
},
],
retries: 2,
testDir: "./src/tests/functional",
testMatch: /.*_tests\.ts/,
webServer: {
Expand Down

0 comments on commit 399658a

Please sign in to comment.