mirror of
https://github.com/zen-browser/www.git
synced 2025-07-07 17:05:32 +02:00
fix(playwright.config): remove URL from web server configuration
- Eliminated the URL specification from the web server configuration in Playwright, streamlining the setup for local development.
This commit is contained in:
parent
9c9883b660
commit
024a8a4574
2 changed files with 2 additions and 1 deletions
2
.github/workflows/ci-pipeline.yml
vendored
2
.github/workflows/ci-pipeline.yml
vendored
|
@ -96,5 +96,7 @@ jobs:
|
|||
run: npm ci
|
||||
- name: Install Playwright Browsers
|
||||
run: npx playwright install --with-deps
|
||||
- name: Build project
|
||||
run: npm run build
|
||||
- name: Run Playwright tests
|
||||
run: npx playwright test
|
|
@ -66,7 +66,6 @@ export default defineConfig({
|
|||
/* Run your local dev server before starting the tests */
|
||||
webServer: {
|
||||
command: process.env.CI ? 'npm run start' : 'npm run dev',
|
||||
url: 'http://localhost:3000',
|
||||
port: 3000,
|
||||
reuseExistingServer: !process.env.CI,
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue