Skip to content

Commit

Permalink
Move sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
amberin authored Apr 4, 2024
1 parent 2ed37f2 commit 7589e0c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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."))

Expand All @@ -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")))
}

Expand Down

0 comments on commit 7589e0c

Please sign in to comment.