mirror of
https://github.com/nextcloud/server.git
synced 2025-04-14 21:39:28 +00:00
chore: enable cypress video recording in debug mode
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
This commit is contained in:
parent
43b3ad13e0
commit
bc523f6441
2 changed files with 8 additions and 4 deletions
8
.github/workflows/cypress.yml
vendored
8
.github/workflows/cypress.yml
vendored
|
@ -142,12 +142,14 @@ jobs:
|
|||
SPLIT: ${{ matrix.total-containers }}
|
||||
SPLIT_INDEX: ${{ matrix.containers == 'component' && 0 || matrix.containers }}
|
||||
|
||||
- name: Upload snapshots
|
||||
- name: Upload snapshots and videos
|
||||
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
|
||||
if: always()
|
||||
with:
|
||||
name: snapshots_${{ matrix.containers }}
|
||||
path: cypress/snapshots
|
||||
name: snapshots_videos_${{ matrix.containers }}
|
||||
path: |
|
||||
cypress/snapshots
|
||||
cypress/videos
|
||||
|
||||
- name: Extract NC logs
|
||||
if: failure() && matrix.containers != 'component'
|
||||
|
|
|
@ -34,8 +34,10 @@ export default defineConfig({
|
|||
// Needed to trigger `after:run` events with cypress open
|
||||
experimentalInteractiveRunEvents: true,
|
||||
|
||||
// disabled if running in CI but enabled in debug mode
|
||||
video: !process.env.CI || !!process.env.RUNNER_DEBUG,
|
||||
|
||||
// faster video processing
|
||||
video: !process.env.CI,
|
||||
videoCompression: false,
|
||||
|
||||
// Prevent elements to be scrolled under a top bar during actions (click, clear, type, etc). Default is 'top'.
|
||||
|
|
Loading…
Add table
Reference in a new issue