Increase timeouts (#4716)

Co-authored-by: Alex van Andel <me@alexvanandel.com>
pull/4716/merge
Hariom Balhara 2022-09-29 15:36:57 +05:30 committed by GitHub
parent dd14e827e1
commit 145fb09b73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

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