Skip to content

Commit

Permalink
Add sleep to another flaky Espresso test
Browse files Browse the repository at this point in the history
  • Loading branch information
amberin committed Jun 15, 2024
1 parent 19c606b commit 01b71d0
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -779,6 +779,7 @@ public void testDeSelectRemovedNoteInSearch() {
public void testNoNotesFoundMessageIsDisplayedInSearch() {
scenario = ActivityScenario.launch(MainActivity.class);
searchForTextCloseKeyboard("Note");
SystemClock.sleep(200);
onView(withText(R.string.no_notes_found_after_search)).check(matches(isDisplayed()));
}

Expand Down

0 comments on commit 01b71d0

Please sign in to comment.