Skip to content

Commit

Permalink
debug: enable cypress video recording
Browse files Browse the repository at this point in the history
Signed-off-by: Max <[email protected]>
  • Loading branch information
max-nextcloud committed Dec 21, 2023
1 parent 6c1ec51 commit 2a5c47f
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ jobs:
parallel: '${{ !!matrix.run-in-parallel }}' # only on pull requests
wait-on: '${{ env.CYPRESS_baseUrl }}'
working-directory: 'apps/${{ env.APP_NAME }}'
config: defaultCommandTimeout=10000,video=false
config: defaultCommandTimeout=10000,video=true
tag: ${{ matrix.run-in-parallel && github.event_name }}
env:
# https://github.com/cypress-io/github-action/issues/124
Expand All @@ -177,6 +177,15 @@ jobs:
apps/${{ env.APP_NAME }}/cypress/snapshots/
retention-days: 5

- name: Upload test failure videos
uses: actions/upload-artifact@v3
if: failure()
with:
name: Upload videos
path: |
apps/${{ env.APP_NAME }}/cypress/videos/
retention-days: 5

- name: Upload nextcloud logs
uses: actions/upload-artifact@v3
if: failure()
Expand Down

0 comments on commit 2a5c47f

Please sign in to comment.