Skip to content
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

Support threshold in DesktopScreenshotTestRule #1603

Open
wants to merge 3 commits into
base: jb-main
Choose a base branch
from

Conversation

MatkovIvan
Copy link
Member

Adoption of approximate image comparison for internal screenshot tests from Android.

Now it reports the percentage of similarity:

Image mismatch! Comparison stats: '[MSSIM] Required SSIM: 0.96, Actual SSIM: 0.953'

and corresponding diff as a separate image:

androidx_compose_ui_platform_GraphicsLayerTest_rotationZ_diff

Fixes CMP-5310

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant