fix path to screenshots and screen recordings

This commit is contained in:
Hans Pagel
2020-08-19 17:33:39 +02:00
parent aff1ca081c
commit 8def6c6617

View File

@@ -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