Procházet zdrojové kódy

Update screenshots

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Andy Scherzinger před 4 roky
rodič
revize
debc206ab0

binární
screenshots/gplay/debug/com.owncloud.android.ui.fragment.FileDetailFragmentStaticServerIT_showDetailsActivitiesNone_light_white.png


binární
screenshots/gplay/debug/com.owncloud.android.ui.fragment.FileDetailFragmentStaticServerIT_showDetailsActivities_light_white.png


+ 2 - 0
src/androidTest/java/com/owncloud/android/ui/activity/NotificationsActivityIT.kt

@@ -48,6 +48,8 @@ class NotificationsActivityIT : AbstractIT() {
     fun empty() {
         val sut: NotificationsActivity = activityRule.launchActivity(null)
 
+        waitForIdleSync()
+
         sut.runOnUiThread { sut.populateList(ArrayList<Notification>()) }
 
         shortSleep()

+ 10 - 2
src/androidTest/java/com/owncloud/android/ui/fragment/FileDetailFragmentStaticServerIT.kt

@@ -49,6 +49,8 @@ class FileDetailFragmentStaticServerIT : AbstractIT() {
         sut.addFragment(FileDetailActivitiesFragment.newInstance(file, user))
 
         waitForIdleSync()
+        shortSleep()
+        shortSleep()
         screenshot(sut)
     }
 
@@ -59,6 +61,8 @@ class FileDetailFragmentStaticServerIT : AbstractIT() {
         sut.addFragment(FileDetailSharingFragment.newInstance(file, user))
 
         waitForIdleSync()
+        shortSleep()
+        shortSleep()
         screenshot(sut)
     }
 
@@ -128,6 +132,8 @@ class FileDetailFragmentStaticServerIT : AbstractIT() {
             sut.fileDetailActivitiesFragment.populateList(activities as List<Any>?, true)
         }
 
+        shortSleep()
+        shortSleep()
         screenshot(activity)
     }
 
@@ -145,7 +151,7 @@ class FileDetailFragmentStaticServerIT : AbstractIT() {
         }
 
         shortSleep()
-
+        shortSleep()
         screenshot(activity)
     }
 
@@ -166,7 +172,6 @@ class FileDetailFragmentStaticServerIT : AbstractIT() {
 
         shortSleep()
         shortSleep()
-
         screenshot(activity)
     }
 
@@ -177,6 +182,9 @@ class FileDetailFragmentStaticServerIT : AbstractIT() {
         sut.addFragment(FileDetailFragment.newInstance(file, user, 1))
 
         waitForIdleSync()
+
+        shortSleep()
+        shortSleep()
         screenshot(sut)
     }
 }