From 4e988167527c3aa4b3ae5e8d43f8993d2741f9b2 Mon Sep 17 00:00:00 2001 From: mahula Date: Thu, 2 Feb 2023 12:19:32 +0100 Subject: [PATCH] add video recodring and upload for testing purposes --- .github/workflows/test.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ef0091c43..9bffd0cc2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -666,5 +666,9 @@ jobs: with: name: cypress-screenshots path: /home/runner/work/gradido/gradido/e2e-tests/cypress/tests/cypress/screenshots/ + - name: End-to-end tests | if tests failed, upload videos + if: ${{ failure() && steps.e2e-tests.conclusion == 'failure' }} + uses: actions/upload-artifact@v3 + with: name: cypress-videos path: /home/runner/work/gradido/gradido/e2e-tests/cypress/tests/cypress/videos/