Replies: 1 comment 7 replies
-
Hey @jwedel, I moved it to a discussion Have you tried Docker for this? I've had a similar issue on my projects (difference between Mac and Linux CI machines) and I generate my snapshots using run mode in Docker. I then rely on open mode for testing |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is not directly a "bug report" but rather a question for best practices. Maybe the answer could be added to the README.
What we've seen is, that between Windows, Mac and Linux, there are differences in
As Mac, Linux and Windows don't have a common default font, it's pretty hard to run the snapshot comparison on all environments with the same result, obviously. Also, on Mac there is the ColorSync which changes the RGB values of a rendered pixel.
Both leads to failing snapshot tests.
When increasing the
failureThreashold
, it starts missing real issues. E.g. changing the color of a curve in a chart will not be detected anymore.Are there any configuration options known, maybe for Cypress or Chrome that will lead to similar rendering results on all systems?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions