We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
MAX_RETRIES
1 parent 3a9d14b commit c3a2f7cCopy full SHA for c3a2f7c
playwright.config.js
@@ -1,5 +1,6 @@
1
"use strict";
2
3
+const MAX_RETRIES = 3;
4
const isCI = process.env.CI === "true";
5
6
/** @type { import('@playwright/test').PlaywrightTestConfig} */
@@ -9,8 +10,7 @@ module.exports = {
9
10
testDir: "./test/e2e",
11
fullyParallel: false,
12
forbidOnly: !isCI,
- // TODO: can help with flakiness, make sure it works on CI
13
- retries: isCI ? 2 : 0,
+ retries: isCI ? MAX_RETRIES : 0,
14
workers: 1,
15
reporter: isCI ? "github" : "list",
16
use: {
0 commit comments