try with thread sleep

Signed-off-by: alperozturk <alper_ozturk@proton.me>
This commit is contained in:
alperozturk 2024-07-05 10:14:57 +02:00 committed by Alper Öztürk
parent 80c46b8d21
commit c8bf86cf8d

View file

@ -57,6 +57,7 @@ class TrashbinActivityIT : AbstractIT() {
sut.trashbinPresenter = TrashbinPresenter(trashbinRepository, sut)
onIdleSync {
sut.runOnUiThread { sut.loadFolder() }
shortSleep()
screenshot(sut)
}
}
@ -71,6 +72,7 @@ class TrashbinActivityIT : AbstractIT() {
sut.trashbinPresenter = TrashbinPresenter(trashbinRepository, sut)
onIdleSync {
sut.runOnUiThread { sut.loadFolder() }
shortSleep()
screenshot(sut)
}
}
@ -85,6 +87,7 @@ class TrashbinActivityIT : AbstractIT() {
sut.trashbinPresenter = TrashbinPresenter(trashbinRepository, sut)
onIdleSync {
sut.runOnUiThread { sut.loadFolder() }
shortSleep()
screenshot(sut)
}
}
@ -99,6 +102,7 @@ class TrashbinActivityIT : AbstractIT() {
sut.trashbinPresenter = TrashbinPresenter(trashbinRepository, sut)
onIdleSync {
sut.runOnUiThread { sut.showInitialLoading() }
shortSleep()
screenshot(sut)
}
}
@ -113,6 +117,7 @@ class TrashbinActivityIT : AbstractIT() {
sut.trashbinPresenter = TrashbinPresenter(trashbinRepository, sut)
onIdleSync {
sut.runOnUiThread { sut.showUser() }
shortSleep()
screenshot(sut)
}
}
@ -138,6 +143,7 @@ class TrashbinActivityIT : AbstractIT() {
sut.trashbinPresenter = TrashbinPresenter(trashbinRepository, sut)
onIdleSync {
sut.runOnUiThread { sut.showUser() }
shortSleep()
screenshot(sut)
}
}