aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorskjnldsv <skjnldsv@protonmail.com>2025-01-03 10:28:49 +0100
committerJohn Molakvoæ <skjnldsv@users.noreply.github.com>2025-01-07 10:03:23 +0100
commit47cb9bbfa836c5b3498dce069824410ab1f56580 (patch)
treebb8aab87d9446d5ab2cbcba0d312ca9e9ce66787
parent9196d47945ed2bf6e49e46868fcd0ecc8e112e06 (diff)
downloadnextcloud-server-backport/50025/stable29.tar.gz
nextcloud-server-backport/50025/stable29.zip
chore: enable cypress video recording in debug modebackport/50025/stable29
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 1ce04ff0358..dfe124f29a9 100644
--- a/.github/workflows/cypress.yml
+++ b/.github/workflows/cypress.yml
@@ -124,8 +124,10 @@ jobs:
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
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 4ee4d9ad417..1c9c06dcc0d 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'.