Up Navigation

suggest change
public void testUpNavigation() {
    intending(hasComponent(ParentActivity.class.getName())).respondWith(new Instrumentation.ActivityResult(0, null));

    onView(withContentDescription("Navigate up")).perform(click());


Note that this is a workaround and will collide with other Views that have the same content description.

Feedback about page:

Optional: your email if you want me to get back to you:

Table Of Contents