Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/workflows/reusable-e2e-test-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
5 changes: 3 additions & 2 deletions packages/e2e/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
{
Expand Down