question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Disable video recording on cypress run

See original GitHub issue

Current behavior:

Video recorded on every cypress run.

Desired behavior:

CLI and/or config option to disable video recording on cypress run.

How to reproduce:

Run cypress run. See “Started video recording” message and generated video file in cypress/videos.

Additional Info (images, stack traces, etc)

I’m not using the videos while developing and I’d rather save the time/processing and lower my chances of running into associated bugs by disabling this functionality altogether when I need to run all tests.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:27
  • Comments:21 (8 by maintainers)

github_iconTop GitHub Comments

152reactions
MarcLoupiascommented, Jun 15, 2018

You can already disable video recording with proper configuration in your cypress.json file (doc) : "video": false.

You can also do it with CLI by overriding your cypress.json.

Edited by @jennifer-shehane to update key videoRecording to new version 3 key video

126reactions
johnjensenishcommented, Apr 30, 2019
cypress run --config video=false
Read more comments on GitHub >

github_iconTop Results From Across the Web

Disable video recording when running Cypress - Onebite Dev
When you're using cypress run to run test without GUI, Cypress will automatically generate a videos of your test at cypress/videos folder.
Read more >
Disable generation of cypress folders when running tests
Video recording can be turned off entirely by setting video to false from within your configuration. "video" ...
Read more >
Screenshots and Videos - Cypress - w3resource
You can completely turn off video recording by setting video to false within your configuration. The videos will be stores in the videosFolder ......
Read more >
Cypress - Screenshots and Videos - Tutorialspoint
Cypress - Screenshots and Videos, Cypress can work on screenshots and videos. ... To disable the video capture feature, we have to add...
Read more >
cypress-io/cypress - Gitter
How do I not capture video/screenshots during cypress run ?? ... docs aren't clear about what to send to, very simply, disable screenshot...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found