Skip to content

Commit

Permalink
More wait
Browse files Browse the repository at this point in the history
  • Loading branch information
hannesa2 committed Dec 1, 2024
1 parent d2b2ad2 commit 5294e68
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class ExtendedPublishTest {
onView(withId(2)).perform(click())
onView(withId(R.id.topic)).perform(replaceText(TOPIC))
onView(withId(R.id.message)).perform(replaceText("Typed message"))
sleep(200)
sleep(400)
onView(isRoot())
.perform(captureToBitmap { bitmap: Bitmap ->
bitmap.writeToTestStorage("${javaClass.simpleName}_${nameRule.methodName}-4publish")
Expand All @@ -96,6 +96,7 @@ class ExtendedPublishTest {
onView(withId(1)).perform(click())

WaitingAssertion.checkAssertion(R.id.history_list_view, Matchers.withListSizeBigger(0), 2500)
sleep(400)
onView(isRoot())
.perform(captureToBitmap { bitmap: Bitmap ->
bitmap.writeToTestStorage("${javaClass.simpleName}_${nameRule.methodName}-6End")
Expand All @@ -112,6 +113,7 @@ class ExtendedPublishTest {
onView(withId(R.id.disConnectSwitch)).check(matches(isChecked()))

onView(withId(R.id.disConnectSwitch)).perform(click())
sleep(400)
onView(isRoot())
.perform(captureToBitmap { bitmap: Bitmap ->
bitmap.writeToTestStorage("${javaClass.simpleName}_${nameRule.methodName}-isDisConnected")
Expand All @@ -120,6 +122,7 @@ class ExtendedPublishTest {
onView(withId(R.id.disConnectSwitch)).check(matches(not(isChecked())))

onView(withId(R.id.disConnectSwitch)).perform(click())
sleep(400)
onView(isRoot())
.perform(captureToBitmap { bitmap: Bitmap ->
bitmap.writeToTestStorage("${javaClass.simpleName}_${nameRule.methodName}-isConnectedAgain")
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5294e68

Please sign in to comment.