Skip to content

attempt number is add to snapshot name(bug)  #217

Open
@dlinah

Description

@dlinah

Describe the bug
if cypress retry is enabled , when a test is retried, it creates a new snapshot named "test name #1.png", and falsely passes the test even though it did not match "test name #0.png"
To Reproduce
Steps to reproduce the behavior:

  1. in cypress.json set
   retries: 1,
  1. run failing test that has previously passed and saved the snapshot

Expected behavior
it would be great if there is an option to disable appending attempts number to filename

Screenshots
Screenshot 2022-07-11 at 13 41 52

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions