Skip to content

Commit

Permalink
Another short sleep before identifying root view
Browse files Browse the repository at this point in the history
  • Loading branch information
amberin authored May 9, 2024
1 parent 57a4d48 commit d19a353
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,7 @@ public static ViewInteraction contextualToolbarOverflowMenu() {
}

public static void searchForTextCloseKeyboard(String str) {
SystemClock.sleep(100);
onView(isRoot()).perform(waitId(R.id.search_view, 5000));
onView(allOf(withId(R.id.search_view), isDisplayed())).perform(click());
onView(isRoot()).perform(waitId(R.id.search_src_text, 5000));
Expand Down

0 comments on commit d19a353

Please sign in to comment.