- Updating peer dep to support versions of cypress beyond 4.5.
- Adding support to access details of snapshot diff failures even when using
failOnSnapshotDiff=false
. Details of diff failures can now be accessed from an object stored inCypress.env("snapshotDiffs")
, diff details are keyed by the name of the snapshot image.
- Using custom version of jest-image-snapshot and adding support for preserving newly created snapshots on failure.
17f7927
Thanks @jaredpalmer! - When using native retries that come in Cypress v5+ real image failures are marked as passed on the retries because cypress names the snapshots as 'filename (attempt X).png (and there is no configuration option to change this). The fix just removes the ' (attempt X)' suffix from the filename.