Skip to content

Commit

Permalink
Added log to verify the CI behaviour.
Browse files Browse the repository at this point in the history
  • Loading branch information
MohitMaliDeveloper committed Oct 4, 2024
1 parent f79e24f commit 13144b3
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
}
}
}
Expand Down

0 comments on commit 13144b3

Please sign in to comment.