-
Notifications
You must be signed in to change notification settings - Fork 582
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix false positive when asserting reference image with empty image #453
Fix false positive when asserting reference image with empty image #453
Conversation
450f629
to
e9840db
Compare
e9840db
to
69489a9
Compare
@mbrandonw @stephencelis Any update on this, please? 🙏 |
@mbrandonw @stephencelis Any update on this, please? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks very good in my eyes. Any concerns from the authors?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now I got the review right
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Hello 👋
Bug Description
Unfortunately in the project that I'm working on, we encountered some false positives, where we thought that the tests were actually working, but they were not. What happened was that after some refactorings, some of the tests passed, but actually, the new reference images were the red empty image and the framework assumed that everything was okay.
In order to unit test this, I previously recorded a snapshot with content, and then verify against an empty view and check that it fails.
Fixes: #454, a duplicate of #414