You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As far as I can tell, it isn't possible to disable the accessibility checks once they are enabled. This makes it impossible to use for a subset of tests.
Adding a method like AccessibilityChecks.disable() would make it possible to add the accessibility checks to cover specific tests, rather than the whole suite.
The text was updated successfully, but these errors were encountered:
Finally got around to trying to build a TestRule using this workaround. It doesn't work, since AccessibilityChecks.checksEnabled doesn't get reset. I've hacked it for now with reflection.
For anyone else who runs into this, it looks like the commit here fixes it in AndroidX: android/android-test@ac49334
As far as I can tell, it isn't possible to disable the accessibility checks once they are enabled. This makes it impossible to use for a subset of tests.
Adding a method like
AccessibilityChecks.disable()
would make it possible to add the accessibility checks to cover specific tests, rather than the whole suite.The text was updated successfully, but these errors were encountered: