Skip to content

Commit

Permalink
chore: update cypress action in the scheduled tests to; add test reco…
Browse files Browse the repository at this point in the history
…rdings (#2091)
  • Loading branch information
andrewleith authored Feb 18, 2025
1 parent 8d7db45 commit 550f116
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/cypress-staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
echo '${{ secrets.CYPRESS_ENV_JSON }}' > tests_cypress/cypress.env.json
- name: Run the cypress tests
uses: cypress-io/github-action@d79d2d530a66e641eb4a5f227e13bc985c60b964 # v4.2.2
uses: cypress-io/github-action@248bde77443c376edc45906ede03a1aba9da0462 # v5.8.4
with:
record: false
config: video=false,screenshotOnRunFailure=false
Expand All @@ -35,6 +35,16 @@ jobs:
spec: |
cypress/e2e/admin/a11y/app_pages.cy.js
cypress/e2e/admin/a11y/gca_pages.cy.js
- name: Upload test artifacts
uses: actions/upload-artifact@v4
if: always()
with:
name: cypress-artifacts
path: |
tests_cypress/cypress/videos
tests_cypress/cypress/screenshots
retention-days: 30

- name: Notify Slack channel if this job failed
if: ${{ failure() }}
run: |
Expand Down

0 comments on commit 550f116

Please sign in to comment.