We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
npm run
1 parent 2eba83c commit 8e0fc8fCopy full SHA for 8e0fc8f
template/config/playwright/playwright.config.js
@@ -103,8 +103,8 @@ export default defineConfig({
103
* Use the preview server on CI for more realistic testing.
104
* Playwright will re-use the local server if there is already a dev-server running.
105
*/
106
- command: process.env.CI ? 'vite preview --port 5173' : 'vite dev',
107
- port: 5173,
+ command: process.env.CI ? 'npm run preview' : 'npm run dev',
+ port: process.env.CI ? 4173 : 5173,
108
reuseExistingServer: !process.env.CI
109
}
110
})
0 commit comments