Increase timeouts (#4716)

Co-authored-by: Alex van Andel <me@alexvanandel.com>
This commit is contained in:
Hariom BalharaandAlex van Andel authored and GitHub committed 2022-09-29 10:06:57 +00:00
1 parent dd14e827e1
commit 145fb09b73
1 file changed
+2 -2
+2 -2
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. */