Added logs in InitialDownloadTest, DownloadTest which will show in CI which helps us to debug the actual problem

This commit is contained in:
MohitMaliFtechiz 2024-11-08 17:04:31 +05:30
parent 9610e53a51
commit 829cbd7260
2 changed files with 3 additions and 3 deletions

View File

@ -203,7 +203,7 @@ class DownloadRobot : BaseRobot() {
clickOnYesButton()
pauseForBetterTestPerformance()
} catch (e: Exception) {
Log.i(
Log.e(
KIWIX_DOWNLOAD_TEST,
"Failed to stop downloading. Probably because it is not downloading the zim file"
)

View File

@ -33,8 +33,8 @@ import org.kiwix.kiwixmobile.Findable.StringId.TextId
import org.kiwix.kiwixmobile.Findable.Text
import org.kiwix.kiwixmobile.Findable.ViewId
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.string
import org.kiwix.kiwixmobile.core.utils.files.Log
import org.kiwix.kiwixmobile.testutils.TestUtils
import org.kiwix.kiwixmobile.testutils.TestUtils.testFlakyView
@ -146,7 +146,7 @@ class InitialDownloadRobot : BaseRobot() {
clickOnYesToConfirm()
pauseForBetterTestPerformance()
} catch (e: Exception) {
Log.i(
Log.e(
"INITIAL_DOWNLOAD_TEST",
"Failed to stop downloading. Probably because it is not downloading the zim file"
)