fix path to screenshots and screen recordings
This commit is contained in:
10
.github/workflows/main.yml
vendored
10
.github/workflows/main.yml
vendored
@@ -28,14 +28,16 @@ jobs:
|
|||||||
browser: chrome
|
browser: chrome
|
||||||
command: yarn run startandtest
|
command: yarn run startandtest
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v1
|
- name: Export screenshots of failed tests
|
||||||
|
uses: actions/upload-artifact@v1
|
||||||
if: failure()
|
if: failure()
|
||||||
with:
|
with:
|
||||||
name: cypress-screenshots
|
name: cypress-screenshots
|
||||||
path: cypress/screenshots
|
path: tests/cypress/screenshots
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v1
|
- name: Export screen recording of executed tests
|
||||||
|
uses: actions/upload-artifact@v1
|
||||||
if: always()
|
if: always()
|
||||||
with:
|
with:
|
||||||
name: cypress-videos
|
name: cypress-videos
|
||||||
path: cypress/videos
|
path: tests/cypress/videos
|
||||||
|
|||||||
Reference in New Issue
Block a user