From f1189b851eabe4ed5abf2331d6c834169ec06670 Mon Sep 17 00:00:00 2001 From: alexander-schefe Date: Mon, 11 Aug 2025 13:35:27 +0200 Subject: [PATCH] fix: tried to fix e2e logging --- .github/workflows/reusable-e2e-test-job.yml | 7 ++++++- packages/e2e/playwright.config.ts | 5 +++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/reusable-e2e-test-job.yml b/.github/workflows/reusable-e2e-test-job.yml index 2514a96..0ec6003 100644 --- a/.github/workflows/reusable-e2e-test-job.yml +++ b/.github/workflows/reusable-e2e-test-job.yml @@ -40,7 +40,12 @@ jobs: unset NODE_OPTIONS yarn npx playwright install - npx playwright test + npx playwright test --output test-results --config playwright.config.ts + + - if: failure() + run: | + ls + npx playwright show-trace test-results/tests-entry-entry-switch-language-chromium-retry1/trace.zip - name: Upload Playwright test results if: failure() diff --git a/packages/e2e/playwright.config.ts b/packages/e2e/playwright.config.ts index 34538a6..8605f64 100644 --- a/packages/e2e/playwright.config.ts +++ b/packages/e2e/playwright.config.ts @@ -4,9 +4,10 @@ const { BASICAUTHENTICATION_USERNAME, BASICAUTHENTICATION_PASSWORD } = process.e const config: PlaywrightTestConfig = { forbidOnly: !!process.env.CI, - retries: process.env.CI ? 2 : 0, + retries: 0, + outputDir: 'test-results', use: { - trace: 'on-first-retry', + trace: 'on', }, projects: [ {