meinaart / cypress-plugin-snapshots

Plugin for snapshot tests in Cypress.io
MIT License
489 stars 116 forks source link

(bug) Image screenshot that is taken for comparison comes Same and Distorted #168

Open AkashM-addweb opened 3 years ago

AkashM-addweb commented 3 years ago

Steps to replicate the issue:

  1. Run the cypress code First time to get the original screenshot.
  2. Now re run the Cypress code with a different image comparision.
  3. The functionality works fine and it thus gives the error that "Snapshot does not match"
  4. Now when I click on the button Screenshot-from-2021-02-18-18-17-25

I get the comparison screenshots as distorted and same (review the below screeshot), not able to differentiate the changed pixels, although please see that the functionality for the comparing screenshot works fine. Screenshot from 2021-02-18 18-25-28

accordionpeas commented 3 years ago

I'm seeing the same thing

mschlosser22 commented 3 years ago

Same with me.

robertheessels commented 3 years ago

This bug is fixed, but not yet in the latest release.

To install the latest version, including the fix, do: $ npm install --save-dev github:meinaart/cypress-plugin-snapshots instead of: $ npm install --save-dev cypress-plugin-snapshots

AkashM-addweb commented 3 years ago

@robertheessels Great. Thanks for the update!

Zakariaboudelaa commented 2 years ago

Is there an update for the bug I'm seeing the same thing between different browsers

cexoso commented 1 year ago

I'm seeing the same thing

This's not work for me.