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
assertAny() is a nice feature to let us check any views that are hard to match.
Please add a similar clickAny() method that you can specify a matcher for. Or maybe clickOn() that takes a matcher instead of just an ID or String?
Use case is if a screen has a layout that has a few other layouts included, there are duplicate IDs so you need to reference the parent of the layout you want to clean on...
The text was updated successfully, but these errors were encountered:
Hi Ken! Thanks for the suggestion :)
I remember discussing something like this some time ago. I thought there was an issue already but I can't find one.
Yes, in my opinion this would be a very nice feature. A clickOn(matcher: Matcher<View>) would allow people to take advantage of Barista's magic even for corner cases that aren't supported by the current API.
Would you like to contribute it with a Pull Request? That would help a lot.
assertAny() is a nice feature to let us check any views that are hard to match.
Please add a similar clickAny() method that you can specify a matcher for. Or maybe clickOn() that takes a matcher instead of just an ID or String?
Use case is if a screen has a layout that has a few other layouts included, there are duplicate IDs so you need to reference the parent of the layout you want to clean on...
The text was updated successfully, but these errors were encountered: