aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorskjnldsv <skjnldsv@protonmail.com>2025-01-03 10:28:49 +0100
committerskjnldsv <skjnldsv@protonmail.com>2025-01-03 11:42:22 +0100
commitf2d40badfd30da5de12dd12f1d404c280619e7f1 (patch)
tree83c0068c32fb8f061d6bbdfb9c57511e3a67c5aa
parent2d77570e1e6768e240590ff90c8c8b90fb1d557b (diff)
downloadnextcloud-server-f2d40badfd30da5de12dd12f1d404c280619e7f1.tar.gz
nextcloud-server-f2d40badfd30da5de12dd12f1d404c280619e7f1.zip
chore: enable cypress video recording in debug modebackport/50025/stable30
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
-rw-r--r--.github/workflows/cypress.yml6
-rw-r--r--cypress.config.ts4
2 files changed, 7 insertions, 3 deletions
diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml
index 356ea0970c9..99c7bad4d24 100644
--- a/.github/workflows/cypress.yml
+++ b/.github/workflows/cypress.yml
@@ -139,8 +139,10 @@ jobs:
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
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'
diff --git a/cypress.config.ts b/cypress.config.ts
index 8bf65b90fa0..98ea63758cc 100644
--- a/cypress.config.ts
+++ b/cypress.config.ts
@@ -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'.