mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-08 14:52:13 -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 {
|
try {
|
||||||
onView(withId(R.id.file_management_no_files)).check(matches(isDisplayed()))
|
onView(withId(R.id.file_management_no_files)).check(matches(isDisplayed()))
|
||||||
refresh(R.id.zim_swiperefresh)
|
refresh(R.id.zim_swiperefresh)
|
||||||
return
|
|
||||||
} catch (ignore: AssertionFailedError) {
|
} catch (ignore: AssertionFailedError) {
|
||||||
try {
|
try {
|
||||||
onView(withId(R.id.zimfilelist)).check(matches(isDisplayed()))
|
onView(withId(R.id.zimfilelist)).check(matches(isDisplayed()))
|
||||||
refresh(R.id.zim_swiperefresh)
|
refresh(R.id.zim_swiperefresh)
|
||||||
} catch (e: AssertionFailedError) {
|
} 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