Issue
I am writing tests to determine that a specific button is not clickable or is clickable. However it seems to me that there isn't any method or maybe I can't find a method that can check this feature using Espresso. Can anyone help me ?
Thank you
Solution
Why not? You can use isClickable() Matcher.
onView(withId(R.id.your_button)).check(matches(isClickable()));
Answered By - Ads
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.