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.
1 parent d64f197 commit 2a89832Copy full SHA for 2a89832
test/playwright.config.ts
@@ -12,6 +12,8 @@ const config: PlaywrightTestConfig = {
12
testDir: path.join(__dirname, "e2e"), // Search for tests in this directory.
13
timeout: 60000, // Each test is given 60 seconds.
14
retries: process.env.CI ? 2 : 1, // Retry in CI due to flakiness.
15
+ // Limit the number of failures on CI to save resources
16
+ maxFailures: process.env.CI ? 10 : undefined,
17
globalSetup: require.resolve("./utils/globalE2eSetup.ts"),
18
reporter: "list",
19
// Put any shared options on the top level.
0 commit comments