meinaart / cypress-plugin-snapshots

Plugin for snapshot tests in Cypress.io
MIT License
497 stars 117 forks source link

Preventing failures by config #72

Open WadeTsai opened 4 years ago

WadeTsai commented 4 years ago

Thanks for creating this great plugin, to me, it's much better than another visual test plugin. But...that another plugin provides an must-have environment setting to prevent failures but I can't find a similar feature in yours: A feature like:

Run Cypress with --env failOnSnapshotDiff=false in order to prevent test failures when an image diff does not pass.

Is that possible you also provide this preventing failures setting in this plugin? Please.