From 145fb09b7321c6cfbff0f6088ebe7b5120c60065 Mon Sep 17 00:00:00 2001 From: Hariom Balhara Date: Thu, 29 Sep 2022 15:36:57 +0530 Subject: [PATCH] Increase timeouts (#4716) Co-authored-by: Alex van Andel --- playwright.config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/playwright.config.ts b/playwright.config.ts index 64c3c96ffc..945cccf984 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -6,9 +6,8 @@ import * as path from "path"; dotEnv.config({ path: ".env" }); const outputDir = path.join(__dirname, "test-results"); -const testDir = path.join(__dirname, "apps/web/playwright"); -const DEFAULT_NAVIGATION_TIMEOUT = 15000; +const DEFAULT_NAVIGATION_TIMEOUT = 40000; const headless = !!process.env.CI || !!process.env.PLAYWRIGHT_HEADLESS; @@ -57,6 +56,7 @@ const config: PlaywrightTestConfig = { name: "@calcom/web", testDir: "./apps/web/playwright", testMatch: /.*\.e2e\.tsx?/, + timeout: 120000, use: { ...devices["Desktop Chrome"], /** If navigation takes more than this, then something's wrong, let's fail fast. */