File tree 2 files changed +10
-1
lines changed
dev-packages/test-utils/src 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -1003,6 +1003,15 @@ jobs:
1003
1003
working-directory : dev-packages/e2e-tests/test-applications/${{ matrix.test-application }}
1004
1004
timeout-minutes : 5
1005
1005
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
1006
1015
1007
1016
job_optional_e2e_tests :
1008
1017
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(
46
46
baseURL : `http://localhost:${ appPort } ` ,
47
47
48
48
/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
49
- trace : 'on-first-retry ' ,
49
+ trace : 'retain- on-failure ' ,
50
50
} ,
51
51
52
52
/* Configure projects for major browsers */
You can’t perform that action at this time.
0 commit comments