1 min readFeb 26, 2020
You could try matching by testID, than you can check for it in espresso like this:
onView(withTagValue(is((Object) “automation_image_id”))).check(matches(isDisplayed()));
I am pretty sure I had some trouble using that property, but you could give it a try, if its not mandatory to identifier your view by accessibilityValue.