1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-30 02:21:17 +03:00

Retry flaky tests in Playwright twice (half Cypress) (#11978)

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski
2023-11-30 12:18:35 +00:00
committed by GitHub
parent 79daa1a63c
commit 5a4355059d

View File

@ -35,6 +35,7 @@ export default defineConfig<TestOptions>({
testDir: "playwright/e2e",
outputDir: "playwright/test-results",
workers: 1,
retries: process.env.CI ? 2 : 0,
reporter: process.env.CI ? "blob" : [["html", { outputFolder: "playwright/html-report" }]],
projects: [
{