snapshot
snapshot copied to clipboard
Different snapshot is considered valid on retries
When using test retries and a snapshot doesn’t match, the test will fail on the first attempt but pass on the subsequent retries.
Expected behavior
Tests should continue failing, even on new attempts, if snapshots don’t match.
Workaround
Disable retries for tests using snapshots (see https://docs.cypress.io/guides/guides/test-retries#Custom-Configurations)
Versions
Cypress 7.6.0 @cypress/snapshot 2.1.7