mirror of
https://github.com/nextcloud/android.git
synced 2024-11-25 14:45:47 +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)
|
||||
onIdleSync {
|
||||
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)
|
||||
onIdleSync {
|
||||
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)
|
||||
onIdleSync {
|
||||
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)
|
||||
onIdleSync {
|
||||
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)
|
||||
onIdleSync {
|
||||
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)
|
||||
onIdleSync {
|
||||
sut.runOnUiThread { sut.showUser() }
|
||||
screenshotViaName(sut, "TrashbinActivity_differentUser")
|
||||
screenshotViaName(sut, "com.owncloud.android.ui.trashbin.TrashbinActivityIT_differentUser")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue