Closed ioana-gln closed 5 years ago
@meinaart Any reason you haven't published a release lately? It looks like this bug might have been addressed back in March :thinking:
I'm seeing this exact issue, I set the cypress.json
to "autopassNewSnapshots": true
, but it didn't resolve the problem.
Note: It works fine if you run one test file at a time. It only fails when you try to click the Run All button in the UI. The CLI works fine both ways.
Agree with @lots0logs this appears to be fixed (unless running all tests in the ui - different issue) based on changes provided by @rlux-aa over here: https://github.com/meinaart/cypress-plugin-snapshots/pull/31/commits/cf8287706f80ecdfcb829cb03a3ca460724e26d4
Would be awesome the see an updated release published @meinaart :)
Can you retry with latest version and let me know if that fixes it?
thanks @meinaart - can confirm this release has fixed this issue :)
Thanks @johnmcclumpha
We are trying to use your plugin and when we use the ImageSnapshot cypress throws an error.
Sample code:
The .png image snapshots are created correctly under __imagesnapshots_\ but the tests fail and cypress throws the following error:
Cypress version: 3.3.1 cypress-plugin-snapshots version: 1.2.6 @cypress/snapshot version 2.1.3
Worth mentioning is that we are running on mac. Note: This only happens when screenshots do not exist and they are created for the first time.