Releases: simonsmith/cypress-image-snapshot
Releases · simonsmith/cypress-image-snapshot
8.0.0
8.0.0 (2023-07-25)
Bug Fixes
- requireSnapshots should work with retries (ebfc8be)
Features
- normalise directory output for snapshots (1939e25)
BREAKING CHANGES
- This uses the
Cypress.spec.relative
option to
generate the snapshot directory and changes the folder structure.
It should now match the directory structure found in the cypress/e2e/
directory
Updating to this change may mean committing new snapshot paths and
removing old ones in your project (especially with component testing)
See the section "Snapshot paths" in the README for more information
8.0.0-beta.1
8.0.0-beta.1 (2023-07-19)
Features
- normalise directory output for snapshots (e8b8110)
BREAKING CHANGES
- This uses the
Cypress.spec.relative
option to
generate the snapshot directory and changes the folder structure.
It should now match the directory structure found in the cypress/e2e/
directory
Updating to this change may mean committing new snapshot paths and
removing old ones in your project
See: #5
7.0.0
7.0.0 (2023-05-25)
Bug Fixes
- ensure files are packaged in root (c0816dc)
- move @types/jest-image-snapshot (5e65567)
- release from root directory (e0bab6a)
Features
- add recording of snapshot result (488ae4b)
- add semantic release (b1b063b)
- allow default options to be passed into addMatchImageSnapshotCommand (405afcb)
BREAKING CHANGES
- removed fork of original package
This is a rewrite of the original library, now with full support for
TypeScript and improved testing.
Notes:
- The API for
matchImageSnapshot
remains the same, as well as all the
import paths - The behavior of the plugin is exactly the same, as are the default
options
TypeScript types are exported under @simonsmith/cypress-image-snapshot/types
.
These should be used instead of the package on DefinitelyTyped
Removed:
- The
reporter
is not supported in this version.