We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99b47c3 commit 3690492Copy full SHA for 3690492
playwright.config.ts
@@ -73,7 +73,7 @@ export default defineConfig({
73
74
/* Run your local dev server before starting the tests */
75
webServer: {
76
- command: 'pnpm run dev',
+ command: !process.env.CI ? 'pnpm run dev' : 'pnpm run preview --port 3000',
77
url: 'http://localhost:3000',
78
reuseExistingServer: !process.env.CI,
79
},
0 commit comments