diff --git a/app/src/androidTest/java/com/orgzly/android/espresso/NoteFragmentTest.kt b/app/src/androidTest/java/com/orgzly/android/espresso/NoteFragmentTest.kt index 872e21fcd..b504db1b6 100644 --- a/app/src/androidTest/java/com/orgzly/android/espresso/NoteFragmentTest.kt +++ b/app/src/androidTest/java/com/orgzly/android/espresso/NoteFragmentTest.kt @@ -520,7 +520,6 @@ class NoteFragmentTest : OrgzlyTest() { onNoteInBook(1).perform(longClick()) onActionItemClick(R.id.new_note, R.string.new_note); onView(withText(R.string.new_under)).perform(click()) - Thread.sleep(1000) onView(withId(R.id.title_edit)).perform(*replaceTextCloseKeyboard("1.1")) onView(withId(R.id.breadcrumbs_text)).perform(clickClickableSpan("Note #1.")) @@ -532,6 +531,7 @@ class NoteFragmentTest : OrgzlyTest() { onView(withText(R.string.cancel)).perform(click()) // Title remains the same + Thread.sleep(1000) onView(withId(R.id.title_edit)).check(matches(withText("1.1"))) }