From 024a8a4574588da6af659b7f0ebae998a382ed11 Mon Sep 17 00:00:00 2001 From: taroj1205 Date: Fri, 16 May 2025 12:52:36 +1200 Subject: [PATCH] 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. --- .github/workflows/ci-pipeline.yml | 2 ++ playwright.config.ts | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-pipeline.yml b/.github/workflows/ci-pipeline.yml index cdb0573..8a5516c 100644 --- a/.github/workflows/ci-pipeline.yml +++ b/.github/workflows/ci-pipeline.yml @@ -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 \ No newline at end of file diff --git a/playwright.config.ts b/playwright.config.ts index 96c0b9d..2b84904 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -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, },