From 10995665a101bb27f26eab04aeaff9c8de5aa4fc Mon Sep 17 00:00:00 2001 From: mahula Date: Mon, 13 Mar 2023 20:39:22 +0100 Subject: [PATCH] configure screenshot upload to depend on e2e test failure in github test workflow --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 46d80241f..4070ec7c5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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