Skip to content

Commit

Permalink
Tap count label to create delay and wait for previous toast to disapp…
Browse files Browse the repository at this point in the history
…ear.
  • Loading branch information
choozm committed Apr 2, 2018
1 parent bb9ffe1 commit a6e93a7
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ class ToastButtonTest() : BaseTest() {
}
}

// create delay and wait for previous toast to disappear
(1..5).forEach { clickId(R.id.count_textview) }

clickId(R.id.toast_button)
verifyToastMessage(activity.activity.resources.getQuantityString(R.plurals.numberOfTaps, n, n))
}
Expand Down

0 comments on commit a6e93a7

Please sign in to comment.