Skip to content

Commit d7843bb

Browse files
authored
Set playwright maxFailures in CI (#32878)
So if you have a totally hosed EW build you're not waiting an hour to find out
1 parent 9e031f8 commit d7843bb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apps/web/playwright.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ export default defineConfig<{}, WorkerOptions>({
101101
outputDir: "playwright/test-results",
102102
workers: 1,
103103
retries: process.env.CI ? 2 : 0,
104+
maxFailures: process.env.CI ? 10 : undefined,
104105
reporter: process.env.CI ? [["blob"], ["github"]] : [["html", { outputFolder: "playwright/html-report" }]],
105106
snapshotDir: "playwright/snapshots",
106107
// When running the browser in docker, set the platform to `linux` as that is the platform where the browser is running

0 commit comments

Comments
 (0)