meinaart / cypress-plugin-snapshots

Plugin for snapshot tests in Cypress.io
MIT License
498 stars 117 forks source link

(bug) Diff image on both sides after first clicking Compare snapshots after test run #118

Open taninnazar opened 4 years ago

taninnazar commented 4 years ago

Describe the bug After test run if it got failed - first time click on "Compare snapshots" displays diff image on both sides instead actual and expected images. If you close popup and open again it displays correctly.

To Reproduce Steps to reproduce the behavior:

  1. Run test and get it failed (due to toMatchImageSnapshot())
  2. Click on "Compare snapshots"
  3. See wrong images

Expected behavior Should display correct images for actual and expected on first open

Screenshots Screenshot_1

Desktop (please complete the following information):

This behaviour is because of these changes - https://github.com/meinaart/cypress-plugin-snapshots/compare/v1.4.0...v1.4.1?short_path=f179c06#diff-9eae036066b4e9271c1412e9b32fe510

dp120291ssv commented 3 years ago

Hi, I have exactly the same error for the same checkers MacOS Catalina 10.15.7 1