Skip to content

Commit 03916b0

Browse files
committed
test(playwright): config - logs - reuse existing server (no need for custom port)
1 parent a2837a3 commit 03916b0

File tree

3 files changed

+11
-8
lines changed

3 files changed

+11
-8
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
},
103103
"devDependencies": {
104104
"@next/bundle-analyzer": "13.4.1",
105-
"@playwright/test": "1.33.0",
105+
"@playwright/test": "1.34.3",
106106
"@squonk/eslint-config": "0.5.0",
107107
"dotenv": "16.0.3",
108108
"eslint": "8.40.0",

playwright.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ export default defineConfig({
4545
command: `pnpm start -p ${PORT}`,
4646
url: baseURL.href,
4747
timeout: 200 * 1000,
48+
reuseExistingServer: true,
49+
stdout: "pipe",
50+
stderr: "pipe",
4851
env: {
4952
NODE_ENV: "test",
5053
},

pnpm-lock.yaml

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)