From 3d6c25d8045d58235433e71d69640bbc53121868 Mon Sep 17 00:00:00 2001 From: Max Date: Wed, 6 Aug 2025 10:55:42 +0200 Subject: [PATCH] chore(ci): upload snapshots of failed cy component tests Signed-off-by: Max --- .github/workflows/cypress-component.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/cypress-component.yml b/.github/workflows/cypress-component.yml index d17cd5d6532..36c6987c8fd 100644 --- a/.github/workflows/cypress-component.yml +++ b/.github/workflows/cypress-component.yml @@ -57,3 +57,13 @@ jobs: CYPRESS_BUILD_ID: ${{ github.sha }}-${{ github.run_number }} CYPRESS_GROUP: Run component npm_package_name: ${{ env.APP_NAME }} + + - name: Upload snapshots + uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1 + if: failure() + with: + name: snapshots + path: | + cypress/screenshots/ + cypress/snapshots/ + retention-days: 5