Skip to content

Commit

Permalink
Tweak an Espresso sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
amberin committed Oct 18, 2024
1 parent dc830dc commit 2a0bcf5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ public static ViewInteraction onSavedSearch(int position) {
}

public static ViewInteraction onRecyclerViewItem(@IdRes int recyclerView, int position, @IdRes int childView) {
SystemClock.sleep(100);
SystemClock.sleep(200);
onView(isRoot()).perform(waitId(recyclerView, 5000));
onView(withId(recyclerView)).perform(RecyclerViewActions.scrollToPosition(position));
return onView(new EspressoRecyclerViewMatcher(recyclerView)
Expand Down

0 comments on commit 2a0bcf5

Please sign in to comment.