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. */