From dcd2862e72b24532a97fc5b688803f8bbb9b6346 Mon Sep 17 00:00:00 2001 From: zomars Date: Thu, 12 May 2022 08:16:27 -0600 Subject: [PATCH] Increases timeout temporarily --- tests/config/playwright.config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/config/playwright.config.ts b/tests/config/playwright.config.ts index 512bed0cf4..12683ee71c 100644 --- a/tests/config/playwright.config.ts +++ b/tests/config/playwright.config.ts @@ -18,7 +18,7 @@ addAliases({ const outputDir = path.join(__dirname, "..", "..", "test-results"); const testDir = path.join(__dirname, "..", "..", "apps/web/playwright"); -const DEFAULT_NAVIGATION_TIMEOUT = 5000; +const DEFAULT_NAVIGATION_TIMEOUT = 15000; const headless = !!process.env.CI || !!process.env.PLAYWRIGHT_HEADLESS; @@ -27,7 +27,7 @@ const config: PlaywrightTestConfig = { retries: 1, workers: os.cpus().length, timeout: 60_000, - maxFailures: headless ? 3 : undefined, + maxFailures: headless ? 10 : undefined, reporter: [ [process.env.CI ? "github" : "list"], ["html", { outputFolder: "./playwright/reports/playwright-html-report", open: "never" }],