From f15a501f60380df463d77a1baa591013176b1716 Mon Sep 17 00:00:00 2001 From: Rasso Hilber Date: Tue, 14 Nov 2023 09:35:59 +0100 Subject: [PATCH] Attempt to fix report.json path --- .github/workflows/e2e-tests.yml | 2 +- tests/config/playwright.config.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index d290291..d9373d4 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -30,4 +30,4 @@ jobs: - uses: daun/playwright-report-summary@v2 with: - report-file: results.json + report-file: playwright-results.json diff --git a/tests/config/playwright.config.ts b/tests/config/playwright.config.ts index 34b206a..68317a4 100644 --- a/tests/config/playwright.config.ts +++ b/tests/config/playwright.config.ts @@ -34,7 +34,7 @@ export default defineConfig({ maxFailures: process.env.CI ? 10 : undefined, /* Reporter to use. See https://playwright.dev/docs/test-reporters */ reporter: process.env.CI - ? [['dot'], ['github'], ['json', { outputFile: '../../report.json' }]] + ? [['dot'], ['github'], ['json', { outputFile: 'playwright-results.json' }]] : [['list'], ['html', { outputFolder: '../reports/html', open: 'on-failure' }]], expect: {