A ViewPager contains a RecyclerView. I am attempting to swipe an item in that RecyclerView, but unfortunately at times,the ViewPager gets swiped. Is this a bug in Espresso? The following code has been used to achieve this.
onView(withId(R.id.recyclerview)).perform(
RecyclerViewActions.actionOnItemAtPosition(1, swipeLeft()));
Looking out for a clear distinction between swiping the list item and the ViewPager