chore: increase playwright timeout

This commit is contained in:
Joe Previte 2022-12-21 16:07:18 -07:00
parent 96812433a4
commit a059129252
No known key found for this signature in database
GPG Key ID: 2C91590C6B742C24
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ import path from "path"
// PWDEBUG=1 yarn test:e2e # Run Playwright inspector
const config: PlaywrightTestConfig = {
testDir: path.join(__dirname, "e2e"), // Search for tests in this directory.
timeout: 60000, // Each test is given 60 seconds.
timeout: 120000, // Each test is given 120 seconds.
retries: process.env.CI ? 2 : 1, // Retry in CI due to flakiness.
// Limit the number of failures on CI to save resources
maxFailures: process.env.CI ? 3 : undefined,