From 2cfd6d57dfacee938c79be90ffd21a4b0ba584bf Mon Sep 17 00:00:00 2001 From: mahula Date: Thu, 25 May 2023 13:19:31 +0200 Subject: [PATCH] set cypress to test only a specific feature and record a video for debugging --- .github/workflows/test-e2e.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/test-e2e.yml b/.github/workflows/test-e2e.yml index 6cad0dcf7..c0c8f7788 100644 --- a/.github/workflows/test-e2e.yml +++ b/.github/workflows/test-e2e.yml @@ -45,6 +45,11 @@ jobs: with: name: cypress-screenshots path: cypress/screenshots/ + + - name: Full stack tests | if any test failed, upload videos + if: ${{ failure() && steps.e2e-tests.conclusion == 'failure' }} + uses: actions/upload-artifact@v3 + with: name: cypress-videos path: cypress/videos/