mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-08-03 18:56:44 -04:00
Added log to verify the CI behaviour.
This commit is contained in:
parent
15435a0a5d
commit
3f066d4fa3
@ -73,13 +73,15 @@ class LibraryRobot : BaseRobot() {
|
||||
try {
|
||||
onView(withId(R.id.file_management_no_files)).check(matches(isDisplayed()))
|
||||
refresh(R.id.zim_swiperefresh)
|
||||
return
|
||||
} catch (ignore: AssertionFailedError) {
|
||||
try {
|
||||
onView(withId(R.id.zimfilelist)).check(matches(isDisplayed()))
|
||||
refresh(R.id.zim_swiperefresh)
|
||||
} catch (e: AssertionFailedError) {
|
||||
// do nothing
|
||||
Log.i(
|
||||
"LOCAL_LIBRARY",
|
||||
"No need to refresh the data, since there is no files found"
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user