meinaart / cypress-plugin-snapshots

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

Error on first screenshot #35

Open pburkindine opened 5 years ago

pburkindine commented 5 years ago

Please see attached, I receive this error on all initial screenshot but the image is saved and later diffs work as expected. Thanks!

Platform: OSX High Sierra cypress-plugin-snapshots: 1.2.6

SS 2019-04-11 at 8 06 49 PM

pburkindine commented 5 years ago

Invocation in all cases is just cy.get('something').toMatchImageSnapshot()

tgecho commented 5 years ago

This seems to have been fixed in https://github.com/meinaart/cypress-plugin-snapshots/pull/31 (also see #33). You can set your package.json version to "cypress-plugin-snapshots": "git://github.com/meinaart/cypress-plugin-snapshots.git#c30b950" for now until an official version is released.

kamilzzz commented 5 years ago

Any updates on this?

meinaart commented 5 years ago

@kamilzzz @pburkindine can you retry with latest version?