File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
dev-packages/test-utils/src Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -1003,6 +1003,15 @@ jobs:
10031003 working-directory : dev-packages/e2e-tests/test-applications/${{ matrix.test-application }}
10041004 timeout-minutes : 5
10051005 run : pnpm test:assert
1006+
1007+ - name : Upload Playwright Traces
1008+ uses : actions/upload-artifact@v4
1009+ if : failure()
1010+ with :
1011+ name : playwright-traces-job_e2e_playwright_tests-${{ matrix.test-application}}
1012+ path : dev-packages/e2e-tests/test-applications/${{ matrix.test-application}}/test-results
1013+ overwrite : true
1014+ retention-days : 7
10061015
10071016 job_optional_e2e_tests :
10081017 name : E2E ${{ matrix.label || matrix.test-application }} Test
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ export function getPlaywrightConfig(
4646 baseURL : `http://localhost:${ appPort } ` ,
4747
4848 /* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
49- trace : 'on-first-retry ' ,
49+ trace : 'retain- on-failure ' ,
5050 } ,
5151
5252 /* Configure projects for major browsers */
You can’t perform that action at this time.
0 commit comments