Reputation: 2683
I am trying to pass multiple config params in Cypress via command line (e.g. I want to disable video and screenshots), but want to do it only via command line:
cypress run --config video=false
This works, but how can I also pass screenshotOnRunFailure=false
?
cypress run --config video=false --config screenshotOnRunFailure=false
This will ignore the second config.
Upvotes: 2
Views: 631
Reputation: 18634
You can use comma to separate the two
cypress run --config video=false,screenshotOnRunFailure=false
Upvotes: 3