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
Description what you'd like to happen:
Sometimes you want to be able to click on an image or layout w/ a contentDescription set to text because if your app was properly set up for accessibility, it would have these fields set when an image is set dynamically on it (e.g. in a Recyclerview or a dynamically created list of items whose order might change at runtime so you can't use the item index easily).
Currently, Barista doesn't have any methods to do this...I'd suggest maybe something like this for an API:
Description what you'd like to happen:
Sometimes you want to be able to click on an image or layout w/ a contentDescription set to text because if your app was properly set up for accessibility, it would have these fields set when an image is set dynamically on it (e.g. in a Recyclerview or a dynamically created list of items whose order might change at runtime so you can't use the item index easily).
Currently, Barista doesn't have any methods to do this...I'd suggest maybe something like this for an API:
clickOnDescription(R.string.something)
clickOnDescription(textstring)
Yes, I know...do a PR :-)
Just want to finalize a possible API here before doing that...
Example espresso code if available
The text was updated successfully, but these errors were encountered: