Skip to content

Commit

Permalink
tests: save cypress screenshots
Browse files Browse the repository at this point in the history
  • Loading branch information
tobybellwood committed Jan 17, 2025
1 parent 9d5b8b9 commit c6c4c21
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/ui-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,20 @@ jobs:
cypress_keycloak: http://localhost:8088/auth
cypress_url: http://localhost:3003

- uses: actions/upload-artifact@v4
# add the line below to store screenshots only on failures
if: failure()
with:
name: cypress-screenshots
path: cypress/screenshots
if-no-files-found: ignore # 'warn' or 'error' are also available, defaults to `warn`
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-videos
path: cypress/videos
if-no-files-found: ignore # 'warn' or 'error' are also available, defaults to `warn`

- name: Stop Docker containers
run: |
make development-api-down

0 comments on commit c6c4c21

Please sign in to comment.