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