mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-08-03 18:56:44 -04:00
Added logs in InitialDownloadTest, DownloadTest which will show in CI which helps us to debug the actual problem
This commit is contained in:
parent
9610e53a51
commit
829cbd7260
@ -203,7 +203,7 @@ class DownloadRobot : BaseRobot() {
|
|||||||
clickOnYesButton()
|
clickOnYesButton()
|
||||||
pauseForBetterTestPerformance()
|
pauseForBetterTestPerformance()
|
||||||
} catch (e: Exception) {
|
} catch (e: Exception) {
|
||||||
Log.i(
|
Log.e(
|
||||||
KIWIX_DOWNLOAD_TEST,
|
KIWIX_DOWNLOAD_TEST,
|
||||||
"Failed to stop downloading. Probably because it is not downloading the zim file"
|
"Failed to stop downloading. Probably because it is not downloading the zim file"
|
||||||
)
|
)
|
||||||
|
@ -33,8 +33,8 @@ import org.kiwix.kiwixmobile.Findable.StringId.TextId
|
|||||||
import org.kiwix.kiwixmobile.Findable.Text
|
import org.kiwix.kiwixmobile.Findable.Text
|
||||||
import org.kiwix.kiwixmobile.Findable.ViewId
|
import org.kiwix.kiwixmobile.Findable.ViewId
|
||||||
import org.kiwix.kiwixmobile.R
|
import org.kiwix.kiwixmobile.R
|
||||||
import org.kiwix.kiwixmobile.core.R.string
|
|
||||||
import org.kiwix.kiwixmobile.core.R.id
|
import org.kiwix.kiwixmobile.core.R.id
|
||||||
|
import org.kiwix.kiwixmobile.core.R.string
|
||||||
import org.kiwix.kiwixmobile.core.utils.files.Log
|
import org.kiwix.kiwixmobile.core.utils.files.Log
|
||||||
import org.kiwix.kiwixmobile.testutils.TestUtils
|
import org.kiwix.kiwixmobile.testutils.TestUtils
|
||||||
import org.kiwix.kiwixmobile.testutils.TestUtils.testFlakyView
|
import org.kiwix.kiwixmobile.testutils.TestUtils.testFlakyView
|
||||||
@ -146,7 +146,7 @@ class InitialDownloadRobot : BaseRobot() {
|
|||||||
clickOnYesToConfirm()
|
clickOnYesToConfirm()
|
||||||
pauseForBetterTestPerformance()
|
pauseForBetterTestPerformance()
|
||||||
} catch (e: Exception) {
|
} catch (e: Exception) {
|
||||||
Log.i(
|
Log.e(
|
||||||
"INITIAL_DOWNLOAD_TEST",
|
"INITIAL_DOWNLOAD_TEST",
|
||||||
"Failed to stop downloading. Probably because it is not downloading the zim file"
|
"Failed to stop downloading. Probably because it is not downloading the zim file"
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user