meinaart / cypress-plugin-snapshots

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

Snapshot Compare Broken (bug) #235

Open abel-varga-ekata opened 11 months ago

abel-varga-ekata commented 11 months ago

Describe the bug When snapshots do not match, the comparator feature is broken. It can't find the screenshot.

readFile cypress/e2e/image_snapshots/search spec renders #0.png, base64, {log: false, timeout: 2000}

To Reproduce Steps to reproduce the behavior:

  1. Go to a failing image compare test
  2. Click on the <> COMPARE SNAPSHOT button
  3. See error

Expected behavior To see the images side-by-side as in the readme.

Screenshots

Screenshot 2023-08-03 at 3 16 51 PM

Desktop (please complete the following information):

Additional Info: Seems to search for the images in the wrong folder for some reason, the underlines are truncated in the error message.