configure screenshot upload to depend on e2e test failure in github test workflow

This commit is contained in:
mahula 2023-03-13 20:39:22 +01:00
parent 8c900cd246
commit 10995665a1

View File

@ -333,9 +333,9 @@ jobs:
yarn install
yarn run cypress:run --spec $(cypress/parallel-features.sh ${{ matrix.job }} ${{ env.jobs }} )
##########################################################################
# UPLOAD SCREENSHOTS & VIDEO #############################################
# UPLOAD SCREENSHOTS - IF TESTS FAIL #####################################
##########################################################################
- name: Upload Artifact
- name: Full stack tests | if any test failed, upload screenshots
uses: actions/upload-artifact@v3
with:
name: cypress-screenshots