I am trying out the new Android testing library Espresso. When I try:
onView(withId(R.id.gettingStarted))
The test runs fine. But when I try:
onView(withId(R.id.gettingStarted)).check(matches(isDisplayed()));
I get a .NoMatchingViewException: No views in hierarchy found matching: with id: is <2131296645>
Has anyone seen anything like this before? My initial reflex is that this is just a bug because Espresso is only on version 1.0. I am using Android Studio and followed the set up directions exactly.