mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
configure screenshot upload to depend on e2e test failure in github test workflow
This commit is contained in:
parent
8c900cd246
commit
10995665a1
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user