diff --git a/.github/workflows/ci-test-custom-script.yml b/.github/workflows/ci-test-custom-script.yml index b82ad4b772..047a1786d7 100644 --- a/.github/workflows/ci-test-custom-script.yml +++ b/.github/workflows/ci-test-custom-script.yml @@ -396,6 +396,14 @@ jobs: path: ~/results overwrite: true + - name: Upload cypress snapshots + if: failure() + uses: actions/upload-artifact@v4 + with: + name: snapshots-${{github.run_attempt}} + path: ${{ github.workspace }}/app/client/cypress/snapshots + overwrite: true + # Set status = failedtest - name: Set fail if there are test failures if: failure()