From 83cfbf82cfbd2b483487520bc4b5cc712e154bbd Mon Sep 17 00:00:00 2001 From: Joe Previte Date: Thu, 15 Apr 2021 16:34:36 -0700 Subject: [PATCH] feat: increase timeout for playwright tests --- test/config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/config.ts b/test/config.ts index 2d09e0ec9..95c23a6ca 100644 --- a/test/config.ts +++ b/test/config.ts @@ -50,7 +50,7 @@ globalSetup(async () => { const config: Config = { testDir: path.join(__dirname, "e2e"), // Search for tests in this directory. - timeout: 30000, // Each test is given 30 seconds. + timeout: 60000, // Each test is given 60 seconds. retries: 3, // Retry failing tests 2 times } @@ -64,7 +64,7 @@ setConfig(config) const options: PlaywrightOptions = { headless: true, // Run tests in headless browsers. - video: "retain-on-failure", + video: "retry-with-video", } // Run tests in three browsers.