File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525 - name : Run E2E tests on ${{ matrix.project }}
2626 run : npx playwright test --project ${{ matrix.project }}
2727 continue-on-error : ${{ matrix.project == 'webkit' }}
28+ - name : Upload test results
29+ if : always()
30+ uses : actions/upload-artifact@v3
31+ with :
32+ name : test-results-${{ matrix.project }}
33+ path : test-results
34+
Original file line number Diff line number Diff line change 2323 "scripts" : {
2424 "start" : " vite --host localhost --port 3000 --open" ,
2525 "serve" : " vite --host" ,
26- "build" : " cross-env NODE_OPTIONS=--max_old_space_size=4096 vite build --outDir build/v0.1.0 " ,
26+ "build" : " cross-env NODE_OPTIONS=--max_old_space_size=4096 vite build --outDir build" ,
2727 "build-no-minify" : " cross-env NO_MINIFY=true npm run build" ,
2828 "test" : " jest --coverage" ,
2929 "eslint" : " eslint src/* " ,
6666 "typescript" : " ^5.0.2" ,
6767 "vite" : " ^4.2.1"
6868 }
69- }
69+ }
Original file line number Diff line number Diff line change @@ -7,10 +7,11 @@ const viewportOverride: ViewportSize = {
77
88const config : PlaywrightTestConfig = {
99 testDir : 'test-e2e' ,
10- retries : 0 ,
10+ retries : 1 ,
1111 use : {
1212 headless : true ,
1313 ignoreHTTPSErrors : true ,
14+ trace : 'retain-on-failure' ,
1415 // video: 'on-first-retry',
1516 launchOptions : {
1617 // slowMo: 250,
You can’t perform that action at this time.
0 commit comments