Skip to content

Commit

Permalink
Sleep longer
Browse files Browse the repository at this point in the history
  • Loading branch information
amberin authored May 7, 2024
1 parent eaf20a1 commit 87f47a4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ public void testNewBookDialogShouldSurviveScreenRotation() {
scenario.onActivity(activity ->
activity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT));

SystemClock.sleep(500);
SystemClock.sleep(1000);
onView(withId(R.id.dialog_new_book_container)).check(matches(isDisplayed()));
onView(withId(R.id.dialog_input)).perform(replaceTextCloseKeyboard("notebook"));
onView(withText(R.string.create)).perform(click());
Expand Down

0 comments on commit 87f47a4

Please sign in to comment.