-
Notifications
You must be signed in to change notification settings - Fork 35
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
Default Value for RoborazziOptions.CompareOptions.changeThreshold Should Be 0 #180
Comments
If you have any opinions or concerns about this change, please let me know. As long as I'm managing the changes with a value of 0 in the CI, I believe there shouldn't be any issues. |
Is there anyone who experiences the symptom of a diff being displayed in compare even though there appears to be no change in the screenshot and there is no actual change in the code? |
@ParkJong-Hun Thank you. Roborazzi utilizes color pixel data. Therefore, I believe you can compare the highlighted color of the pixel, where Roborazzi identifies it as a red pixel. |
I have the exact same issue: neither code change nor visual diff from screenshots. Could you please tell me how to compare highlighted color of pixel from |
@hellohj Thanks.
I sometimes use Mac's Preview to cut out original images and paste them next to the new images for comparison.
It depends on where the problem occurs. You can refer to this article for more information. |
Thanks for answers. Although I've spent a few hours today, I still can't figure out anything much. |
@hellohj |
That's a great question. Recording is done from a developer's laptop (macbook pro M1 max) and uploaded to our git main. Then, the verification happens in CI in each PR. CI machine is linux (Ubuntu 22.04.4). |
@takahirom Would you suspect our differences on OSs may cause this issue? But, why dark mode only? 🤔 |
@hellohj |
Thank you so much for the link. It's unfortunate, but there is nothing much we can do at this point. My team will figure things out. Thank you for your support for a while. |
@hellohj We had a similar problem and now we do the recording also in CI with a github action for updating the baseline. Perhaps it's something you could consider |
During our testing with the Roborazzi library, we noticed that tests were passing even when there were noticeable differences between the images being compared. This behavior can lead to false positives in our test results.
#179
The text was updated successfully, but these errors were encountered: