Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dlinah opened this issue Jul 11, 2022 · 0 comments
Open

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

dlinah opened this issue Jul 11, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@dlinah
Copy link

dlinah commented Jul 11, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants