Răsfoiți Sursa

add wait for stabilizing text file icon rendering

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Andy Scherzinger 4 ani în urmă
părinte
comite
a335cd12e8

+ 2 - 0
src/androidTest/java/com/owncloud/android/ui/fragment/OCFileListFragmentStaticServerIT.kt

@@ -199,6 +199,8 @@ class OCFileListFragmentStaticServerIT : AbstractIT() {
 
         sut.runOnUiThread { fragment.listDirectory(testFolder, false, false) }
 
+        shortSleep()
+
         screenshot(sut)
     }
 

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

@@ -64,6 +64,7 @@ class TrashbinActivityIT : AbstractIT() {
 
         waitForIdleSync()
         shortSleep()
+        shortSleep()
 
         screenshot(sut)
     }