Hi friends Some of my screenshot tests are failing...
# compose
s
Hi friends Some of my screenshot tests are failing for a reason I'm not able to figure out yet I am using the
com.android.compose.screenshot
testing API There is no difference being shown in the test report The only difference between the two images (that I know of) is that one has been captured on
macOS
and the other one has been captured by the CI pipeline on
Ubuntu
The weird thing is that this is only happening for these 4 images, and not any other images that have been recorded using the same method and OS. When I run the same verification command on my local system (i.e.
./gradlew validateProdDebugScreenshotTest
), all tests pass successfully I'm not sure what to do in this situation
You can check the threshold, depending on what system generates the image, it can be different even when not to the naked eye
thank you color 1