diff --git a/.github/workflows/playwright_tests_on_vercel.yml b/.github/workflows/playwright_tests_on_vercel.yml index d7d706b..e368f06 100644 --- a/.github/workflows/playwright_tests_on_vercel.yml +++ b/.github/workflows/playwright_tests_on_vercel.yml @@ -16,7 +16,7 @@ jobs: # Run Playwright tests - name: Run tests - run: npx playwright test --workers=4 + run: npx playwright test --workers=4 --project=chromium env: BASE_URL: ${{github.event.deployment_status.environment_url}} diff --git a/playwright.config.ts b/playwright.config.ts index a0b0da6..a0fb7a7 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -18,7 +18,9 @@ export default defineConfig({ /* Opt out of parallel tests on CI. */ workers: process.env.CI ? 1 : undefined, /* Reporter to use. See https://playwright.dev/docs/test-reporters */ - reporter: 'html', + reporter: [ + ['html', { outputFolder: 'playwright-reports', open: 'never' }], + ['list']], /* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */ use: { /* Base URL to use in actions like `await page.goto('/')`. */