Set playwright maxFailures in CI (#32878)

So if you have a totally hosed EW build you're not waiting an hour to find out
This commit is contained in:
Michael Telatynski
2026-03-24 08:43:31 +00:00
committed by GitHub
parent 9e031f887f
commit d7843bb9b8
+1
View File
@@ -101,6 +101,7 @@ export default defineConfig<{}, WorkerOptions>({
outputDir: "playwright/test-results",
workers: 1,
retries: process.env.CI ? 2 : 0,
maxFailures: process.env.CI ? 10 : undefined,
reporter: process.env.CI ? [["blob"], ["github"]] : [["html", { outputFolder: "playwright/html-report" }]],
snapshotDir: "playwright/snapshots",
// When running the browser in docker, set the platform to `linux` as that is the platform where the browser is running