Skip to content

Commit a86197a

Browse files
authored
Merge pull request #50028 from nextcloud/backport/50025/stable30
2 parents 2d77570 + f2d40ba commit a86197a

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/cypress.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,10 @@ jobs:
139139
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
140140
if: always()
141141
with:
142-
name: snapshots_${{ matrix.containers }}
143-
path: cypress/snapshots
142+
name: snapshots_videos_${{ matrix.containers }}
143+
path: |
144+
cypress/snapshots
145+
cypress/videos
144146
145147
- name: Extract NC logs
146148
if: failure() && matrix.containers != 'component'

cypress.config.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,10 @@ export default defineConfig({
3434
// Needed to trigger `after:run` events with cypress open
3535
experimentalInteractiveRunEvents: true,
3636

37+
// disabled if running in CI but enabled in debug mode
38+
video: !process.env.CI || !!process.env.RUNNER_DEBUG,
39+
3740
// faster video processing
38-
video: !process.env.CI,
3941
videoCompression: false,
4042

4143
// Prevent elements to be scrolled under a top bar during actions (click, clear, type, etc). Default is 'top'.

0 commit comments

Comments
 (0)