Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 83cfbf8

Browse files
committedApr 19, 2021
feat: increase timeout for playwright tests
1 parent faaa0a9 commit 83cfbf8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎test/config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ globalSetup(async () => {
5050

5151
const config: Config = {
5252
testDir: path.join(__dirname, "e2e"), // Search for tests in this directory.
53-
timeout: 30000, // Each test is given 30 seconds.
53+
timeout: 60000, // Each test is given 60 seconds.
5454
retries: 3, // Retry failing tests 2 times
5555
}
5656

@@ -64,7 +64,7 @@ setConfig(config)
6464

6565
const options: PlaywrightOptions = {
6666
headless: true, // Run tests in headless browsers.
67-
video: "retain-on-failure",
67+
video: "retry-with-video",
6868
}
6969

7070
// Run tests in three browsers.

0 commit comments

Comments
 (0)
Please sign in to comment.