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:
taroj1205 2025-05-16 12:52:36 +12:00
parent 9c9883b660
commit 024a8a4574
No known key found for this signature in database
GPG key ID: 0FCB6CFFE0981AB7
2 changed files with 2 additions and 1 deletions

View file

@ -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

View file

@ -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,
},