ActivitiesActivityIT.error: more sleep

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
This commit is contained in:
Álvaro Brey Vilas 2022-04-27 10:03:48 +02:00
parent 236925de99
commit 011d6c3ceb
No known key found for this signature in database
GPG key ID: 2585783189A62105

View file

@ -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()