From bb6e8e05273b659a7a8ccbdfc20c62b03d0d8d19 Mon Sep 17 00:00:00 2001 From: Miki Lombardi Date: Wed, 30 Oct 2024 09:04:15 +0000 Subject: [PATCH] chore: update the playwright config --- .github/workflows/playwright.yml | 4 ++-- playwright.config.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index 48d4373..9e18995 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -14,9 +14,9 @@ jobs: with: node-version: lts/* - name: Build up the application - run: docker compose up + run: docker compose up -d - name: Install Playwright Browsers - run: npx playwright install --with-deps + run: npm ci && npx playwright install --with-deps - name: Run Playwright tests run: npx playwright test - uses: actions/upload-artifact@v4 diff --git a/playwright.config.ts b/playwright.config.ts index f333768..06e92f3 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -66,9 +66,9 @@ export default defineConfig({ ], /* Run your local dev server before starting the tests */ - webServer: { + /* webServer: { command: 'npm run build', url: 'http://127.0.0.1:3000', reuseExistingServer: !process.env.CI, - }, + }, */ });