I faced with problem of self created screenshots and videos after failed test runs despite of settings in cypress.json file
"video": false,
"screenshotOnRunFailure": false
Also tried to configure via Screenshot.defaults with no luck
Cypress.Screenshot.defaults({
screenshotOnRunFailure: false
})
Cypress version is used: "9.2.1"
Cypress run command like this:
"cy:run": "npx cypress run --browser chrome"
How to fix this issue?
Thank you