-
Notifications
You must be signed in to change notification settings - Fork 37
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
RoborazziATFAccessibilityCheckOptions - Configuring supression results to an error #613
Comments
Thank you for reporting this. Could you clarify which import you are using for I believe the correct imports should be:
|
Hi @takahiromThank you for checking/. I just looked and I am using those imports. This is my full configuration: import androidx.compose.ui.test.junit4.AndroidComposeTestRule
|
Thanks. Could you check the version of the accessibility framework? The code works in Roborazzi, which seems to use |
Using this configuration
roborazziAccessibilityOptions = RoborazziATFAccessibilityCheckOptions( RoborazziATFAccessibilityChecker( preset = AccessibilityCheckPreset.LATEST, suppressions = matchesElements(withTestTag("suppress")) ), failureLevel = RoborazziATFAccessibilityChecker.CheckLevel.Error )
returns this error:
Argument type mismatch: actual type is 'com.android.layoutlib.hamcrest.Matcher<com.google.android.apps.common.testing.accessibility.framework.AccessibilityViewCheckResult!>!', but 'org.hamcrest.Matcher' was expected.
The text was updated successfully, but these errors were encountered: