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

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

Open taninnazar opened this issue 4 years ago • 1 comments

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):

  • OS: Windows 10
  • Cypress Version 4.6.0

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

taninnazar avatar May 25 '20 11:05 taninnazar

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

dp120291ssv avatar Dec 29 '20 14:12 dp120291ssv