File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -12,13 +12,13 @@ import { devices } from '@playwright/test';
12
12
const config : PlaywrightTestConfig = {
13
13
testDir : './src/tests' ,
14
14
/* Maximum time one test can run for. */
15
- timeout : 30 * 1000 ,
15
+ timeout : 60 * 1000 , // Increased to 60 seconds
16
16
expect : {
17
17
/**
18
18
* Maximum time expect() should wait for the condition to be met.
19
19
* For example in `await expect(locator).toHaveText();`
20
20
*/
21
- timeout : 15000 ,
21
+ timeout : 30000 , // Increased to 30 seconds
22
22
} ,
23
23
/* Run tests in files in parallel */
24
24
fullyParallel : true ,
@@ -33,7 +33,7 @@ const config: PlaywrightTestConfig = {
33
33
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
34
34
use : {
35
35
/* Maximum time each action such as `click()` can take. Defaults to 0 (no limit). */
36
- actionTimeout : 0 ,
36
+ actionTimeout : 30000 , // Added 30 second timeout for actions
37
37
/* Base URL to use in actions like `await page.goto('/')`. */
38
38
baseURL : 'http://localhost:3000' ,
39
39
@@ -103,6 +103,7 @@ const config: PlaywrightTestConfig = {
103
103
reuseExistingServer : true ,
104
104
command : 'npm run dev' ,
105
105
port : 3000 ,
106
+ timeout : 120000 , // Added 2 minute timeout for server start
106
107
} ,
107
108
} ;
108
109
You can’t perform that action at this time.
0 commit comments