Is it possible to write tests across several activities using the android espresso framework?
I've tested this like:
onView(withId(R.id.hello_visitor)).perform(click()); pressBack(); onView(withId(R.id.hello_visitor)).check(matches(isDisplayed())); //fails here
The click action starts a new activity, obviously.