Revert "Use multiple workers in Playwright CI to make use of multiple cores (…" (#12827)

This reverts commit 08ee1b8d97.
This commit is contained in:
R Midhun Suresh 2024-07-26 00:33:00 +05:30 committed by GitHub
parent c1420ba126
commit 25ab9e4e91
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -37,7 +37,7 @@ export default defineConfig({
}, },
testDir: "playwright/e2e", testDir: "playwright/e2e",
outputDir: "playwright/test-results", outputDir: "playwright/test-results",
workers: process.env.CI ? "50%" : 1, workers: 1,
retries: process.env.CI ? 2 : 0, retries: process.env.CI ? 2 : 0,
reporter: process.env.CI ? [["blob"], ["github"]] : [["html", { outputFolder: "playwright/html-report" }]], reporter: process.env.CI ? [["blob"], ["github"]] : [["html", { outputFolder: "playwright/html-report" }]],
snapshotDir: "playwright/snapshots", snapshotDir: "playwright/snapshots",