Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: config to enable/disable screenshots #5003

Closed
dialex opened this issue Aug 19, 2019 · 3 comments
Closed

Feature Request: config to enable/disable screenshots #5003

dialex opened this issue Aug 19, 2019 · 3 comments
Labels
type: duplicate This issue or pull request already exists

Comments

@dialex
Copy link

dialex commented Aug 19, 2019

One of the use cases of Cypress is API testing. In that scenario it doesn't bring much value to take screenshots. However there's no way to disable screenshots.

  • There is a config "video": false for videos.
  • Please add a config "screenshots": false for screenshots as well.
@mpahuja
Copy link

mpahuja commented Aug 30, 2019

you can set this value "screenshotOnRunFailure":false to achieve that. as described here: https://docs.cypress.io/api/cypress-api/screenshot-api.html#Arguments

@dialex
Copy link
Author

dialex commented Aug 30, 2019

Oh ok, so it's possible to do it, just not intuitive. I would prefer it was a simple config value, together with other configs as for video. The solution you showed forces me to have this config on support/index.js.

@jennifer-shehane
Copy link
Member

Closing as duplicate of #5029

@jennifer-shehane jennifer-shehane added the type: duplicate This issue or pull request already exists label Jan 6, 2020
@cypress-io cypress-io locked and limited conversation to collaborators Jan 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants