Skip to content
Merged
Prev Previous commit
Next Next commit
chore: Enable video recording on debug
Signed-off-by: Marcel Müller <[email protected]>
Signed-off-by: Louis Chemineau <[email protected]>
  • Loading branch information
SystemKeeper authored and artonge committed May 22, 2025
commit 5308836df1b295235a1b00901701d7c5dc4a3429
6 changes: 4 additions & 2 deletions .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,10 @@ jobs:
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.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'
Expand Down
3 changes: 3 additions & 0 deletions cypress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ 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
videoCompression: false,

Expand Down