aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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'.