Archived
1
0

feat: increase timeout for playwright tests

This commit is contained in:
Joe Previte 2021-04-15 16:34:36 -07:00
parent faaa0a9e60
commit 83cfbf82cf
No known key found for this signature in database
GPG Key ID: 2C91590C6B742C24

View File

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