Browse Source

fix Trashbin IT

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
tobiasKaminsky 4 years ago
parent
commit
430a94ff0e

BIN
screenshots/gplay/debug/com.owncloud.android.ui.trashbin.TrashbinActivityIT_files.png


+ 2 - 1
src/androidTest/java/com/owncloud/android/ui/trashbin/TrashbinActivityIT.kt

@@ -63,9 +63,10 @@ class TrashbinActivityIT : AbstractIT() {
 
         sut.runOnUiThread { sut.loadFolder() }
 
+        waitForIdleSync()
         shortSleep()
 
-        Screenshot.snapActivity(sut).record()
+        screenshot(sut)
     }
 
     @Test