mirror of
https://github.com/zen-browser/www
synced 2026-04-25 17:14:56 +02:00
fix(playwright.config): update web server command and URL for local development
- Modified the web server command to use 'npm run start' in CI environments and 'npm run dev' locally. - Changed the URL from 'http://127.0.0.1:3000' to 'http://localhost:3000' for consistency. - Added a port specification for clarity.
This commit is contained in:
@@ -65,8 +65,9 @@ export default defineConfig({
|
||||
|
||||
/* Run your local dev server before starting the tests */
|
||||
webServer: {
|
||||
command: 'npm run dev',
|
||||
url: 'http://127.0.0.1:3000',
|
||||
command: process.env.CI ? 'npm run start' : 'npm run dev',
|
||||
url: 'http://localhost:3000',
|
||||
port: 3000,
|
||||
reuseExistingServer: !process.env.CI,
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user