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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user