cypress-plugin-snapshots icon indicating copy to clipboard operation
cypress-plugin-snapshots copied to clipboard

attempt number is add to snapshot name(bug)

Open dlinah opened this issue 2 years ago • 0 comments

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

dlinah avatar Jul 11 '22 11:07 dlinah