From 011d6c3cebf2ea20402dfaff3b793a6dd0bdd1b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Brey=20Vilas?= Date: Wed, 27 Apr 2022 10:03:48 +0200 Subject: [PATCH] ActivitiesActivityIT.error: more sleep MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Álvaro Brey Vilas --- .../java/com/nextcloud/client/ActivitiesActivityIT.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/androidTest/java/com/nextcloud/client/ActivitiesActivityIT.kt b/app/src/androidTest/java/com/nextcloud/client/ActivitiesActivityIT.kt index 61c9782e57..9cec5f9039 100644 --- a/app/src/androidTest/java/com/nextcloud/client/ActivitiesActivityIT.kt +++ b/app/src/androidTest/java/com/nextcloud/client/ActivitiesActivityIT.kt @@ -185,12 +185,15 @@ class ActivitiesActivityIT : AbstractIT() { fun error() { val sut: ActivitiesActivity = activityRule.launchActivity(null) + shortSleep() + sut.runOnUiThread { sut.showEmptyContent("Error", "Error! Please try again later!") sut.setProgressIndicatorState(false) sut.dismissSnackbar() } + shortSleep() shortSleep() waitForIdleSync()