web: extend tests timeout to 60 seconds

This commit is contained in:
Abdullah Atta
2023-01-13 19:25:09 +05:00
parent 7e9dc0e55c
commit 020e41b3db

View File

@@ -31,8 +31,7 @@ const config: PlaywrightTestConfig = {
// Look for test files in thcleare "tests" directory, relative to this configuration file
testDir: "__e2e__",
// Each test is given 30 seconds
timeout: 30000,
timeout: IS_CI ? 60 * 1000 : 30 * 1000,
workers: IS_CI ? 2 : 2,
reporter: "list",
retries: IS_CI ? 1 : 0,