-
Notifications
You must be signed in to change notification settings - Fork 54
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
Inaccurate comparison #29
Comments
I've also tried setting |
can you supply the screenshots for analysis? |
I've tested this on tons of websites, with the exact same screenshots taken. They all have the same issue. I'm taking my screenshots with |
Ok, but can you attach any two of these PNGs so we can attempt to debug the issue? |
I'm pretty sure this is |
@chrisdeely basically I can run the same tests multiple times, some pass, some fail, it's very sporadic |
Closing this, filed puppeteer/puppeteer#1103 |
Maybe you can reproduce the issue with a publicly available site? |
I think I've found the same problem. See: Generated on Mac OS: https://i.imgur.com/7kAWuMX.png Generated on Mac OS: https://i.imgur.com/PAgszk9.png
Edit: By using Arial and Mac OS: https://i.imgur.com/QIpzyg4.png Still looksSame with |
Try to open pictures in adjacent browser tabs and switch between them. In that case you will see that used font is different and it's not an antialiasing problem.
It still not a problem in antialiasing. Linux and Mac render fonts in different way and you will always see difference between them. If you want that looks-same says that these images are equal you should increase |
Literally have two of the same screenshots and its telling me that the hex color is different and therefore test fails since they're not
equal
.The text was updated successfully, but these errors were encountered: