Skip to content

Commit 249058d

Browse files
committed
add webserver config for playwright
1 parent 00ac90a commit 249058d

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

playwright.config.ts

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,10 @@ export default defineConfig({
6666
],
6767

6868
/* Run your local dev server before starting the tests */
69-
// webServer: {
70-
// command: 'npm run start',
71-
// url: 'http://127.0.0.1:3000',
72-
// reuseExistingServer: !process.env.CI,
73-
// },
69+
webServer: {
70+
command: 'npm run dev',
71+
port: 1234,
72+
timeout: 60 * 1000,
73+
reuseExistingServer: !process.env.CI,
74+
},
7475
});

0 commit comments

Comments
 (0)