Skip to content

Commit

Permalink
Fix ss test
Browse files Browse the repository at this point in the history
Signed-off-by: alperozturk <alper_ozturk@proton.me>
  • Loading branch information
alperozturk96 committed Jun 12, 2024
1 parent 6371ee3 commit e0c7944
Showing 1 changed file with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
package com.owncloud.android.ui.fragment

import androidx.test.espresso.intent.rule.IntentsTestRule
import androidx.test.platform.app.InstrumentationRegistry
import com.nextcloud.test.TestActivity
import com.nextcloud.ui.ImageDetailFragment
import com.owncloud.android.AbstractIT
Expand Down Expand Up @@ -190,10 +189,10 @@ class FileDetailFragmentStaticServerIT : AbstractIT() {
val sut = testActivityRule.launchActivity(null)
sut.addFragment(FileDetailFragment.newInstance(oCFile, user, 1))

InstrumentationRegistry.getInstrumentation().waitForIdle {
shortSleep()
shortSleep()
screenshot(sut)
}
waitForIdleSync()

shortSleep()
shortSleep()
screenshot(sut)
}
}

0 comments on commit e0c7944

Please sign in to comment.