diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index aaa7ed37..b2a7d18a 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -20,8 +20,6 @@ jobs: run: pnpm i - name: Install Playwright Browsers run: npx playwright install --with-deps - - name: Run Dev Server - run: npm run dev - name: Run Playwright tests run: npx playwright test - uses: actions/upload-artifact@v3 diff --git a/playwright.config.ts b/playwright.config.ts index c3b0cd81..c3549011 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -70,9 +70,11 @@ export default defineConfig({ ], /* Run your local dev server before starting the tests */ - // webServer: { - // command: 'npm run start', - // url: 'http://127.0.0.1:3000', - // reuseExistingServer: !process.env.CI, - // }, + webServer: { + command: 'npm run dev', + url: 'http://127.0.0.1:23333', + reuseExistingServer: !process.env.CI, + stdout: 'ignore', + stderr: 'pipe', + }, })