Retry flaky tests in Playwright twice (half Cypress) (#11978)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
79daa1a63c
commit
5a4355059d
1 changed files with 1 additions and 0 deletions
|
@ -35,6 +35,7 @@ export default defineConfig<TestOptions>({
|
||||||
testDir: "playwright/e2e",
|
testDir: "playwright/e2e",
|
||||||
outputDir: "playwright/test-results",
|
outputDir: "playwright/test-results",
|
||||||
workers: 1,
|
workers: 1,
|
||||||
|
retries: process.env.CI ? 2 : 0,
|
||||||
reporter: process.env.CI ? "blob" : [["html", { outputFolder: "playwright/html-report" }]],
|
reporter: process.env.CI ? "blob" : [["html", { outputFolder: "playwright/html-report" }]],
|
||||||
projects: [
|
projects: [
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue