mirror of
https://github.com/nextcloud/android.git
synced 2024-11-22 13:15:35 +03:00
test hardcoded names
Signed-off-by: alperozturk <alper_ozturk@proton.me>
This commit is contained in:
parent
9929f3084f
commit
a2a6d331f1
1 changed files with 6 additions and 6 deletions
|
@ -47,7 +47,7 @@ class TrashbinActivityIT : AbstractIT() {
|
||||||
sut.trashbinPresenter = TrashbinPresenter(trashbinRepository, sut)
|
sut.trashbinPresenter = TrashbinPresenter(trashbinRepository, sut)
|
||||||
onIdleSync {
|
onIdleSync {
|
||||||
sut.runOnUiThread { sut.loadFolder() }
|
sut.runOnUiThread { sut.loadFolder() }
|
||||||
screenshotViaName(sut, "TrashbinActivity_error")
|
screenshotViaName(sut, "com.owncloud.android.ui.trashbin.TrashbinActivityIT_error")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -62,7 +62,7 @@ class TrashbinActivityIT : AbstractIT() {
|
||||||
sut.trashbinPresenter = TrashbinPresenter(trashbinRepository, sut)
|
sut.trashbinPresenter = TrashbinPresenter(trashbinRepository, sut)
|
||||||
onIdleSync {
|
onIdleSync {
|
||||||
sut.runOnUiThread { sut.loadFolder() }
|
sut.runOnUiThread { sut.loadFolder() }
|
||||||
screenshotViaName(sut, "TrashbinActivity_files")
|
screenshotViaName(sut, "com.owncloud.android.ui.trashbin.TrashbinActivityIT_files")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -77,7 +77,7 @@ class TrashbinActivityIT : AbstractIT() {
|
||||||
sut.trashbinPresenter = TrashbinPresenter(trashbinRepository, sut)
|
sut.trashbinPresenter = TrashbinPresenter(trashbinRepository, sut)
|
||||||
onIdleSync {
|
onIdleSync {
|
||||||
sut.runOnUiThread { sut.loadFolder() }
|
sut.runOnUiThread { sut.loadFolder() }
|
||||||
screenshotViaName(sut, "TrashbinActivity_empty")
|
screenshotViaName(sut, "com.owncloud.android.ui.trashbin.TrashbinActivityIT_empty")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -92,7 +92,7 @@ class TrashbinActivityIT : AbstractIT() {
|
||||||
sut.trashbinPresenter = TrashbinPresenter(trashbinRepository, sut)
|
sut.trashbinPresenter = TrashbinPresenter(trashbinRepository, sut)
|
||||||
onIdleSync {
|
onIdleSync {
|
||||||
sut.runOnUiThread { sut.showInitialLoading() }
|
sut.runOnUiThread { sut.showInitialLoading() }
|
||||||
screenshotViaName(sut, "TrashbinActivity_loading")
|
screenshotViaName(sut, "com.owncloud.android.ui.trashbin.TrashbinActivityIT_loading")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -107,7 +107,7 @@ class TrashbinActivityIT : AbstractIT() {
|
||||||
sut.trashbinPresenter = TrashbinPresenter(trashbinRepository, sut)
|
sut.trashbinPresenter = TrashbinPresenter(trashbinRepository, sut)
|
||||||
onIdleSync {
|
onIdleSync {
|
||||||
sut.runOnUiThread { sut.showUser() }
|
sut.runOnUiThread { sut.showUser() }
|
||||||
screenshotViaName(sut, "TrashbinActivity_normalUser")
|
screenshotViaName(sut, "com.owncloud.android.ui.trashbin.TrashbinActivityIT_normalUser")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -134,7 +134,7 @@ class TrashbinActivityIT : AbstractIT() {
|
||||||
sut.trashbinPresenter = TrashbinPresenter(trashbinRepository, sut)
|
sut.trashbinPresenter = TrashbinPresenter(trashbinRepository, sut)
|
||||||
onIdleSync {
|
onIdleSync {
|
||||||
sut.runOnUiThread { sut.showUser() }
|
sut.runOnUiThread { sut.showUser() }
|
||||||
screenshotViaName(sut, "TrashbinActivity_differentUser")
|
screenshotViaName(sut, "com.owncloud.android.ui.trashbin.TrashbinActivityIT_differentUser")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue