Refactored the ZimFileRendering test to align with the new ZIM file, as the content of the mainPage in wikipedia_fr_climate_change_mini has changed.

This commit is contained in:
MohitMaliFtechiz 2025-03-10 14:37:38 +05:30
parent 6a8fa05750
commit 5dfb9ed6b5

View File

@ -168,7 +168,6 @@ class KiwixReaderFragmentTest : BaseActivityTest() {
reader { reader {
checkZimFileLoadedSuccessful(R.id.readerFragment) checkZimFileLoadedSuccessful(R.id.readerFragment)
// test the whole welcome page is loaded or not // test the whole welcome page is loaded or not
assertArticleLoaded("Réchauffement climatique")
assertArticleLoaded("Hydrogène") assertArticleLoaded("Hydrogène")
assertArticleLoaded("Automobile") assertArticleLoaded("Automobile")
assertArticleLoaded("Agriculture") assertArticleLoaded("Agriculture")
@ -185,7 +184,6 @@ class KiwixReaderFragmentTest : BaseActivityTest() {
assertArticleLoaded("Inondation") assertArticleLoaded("Inondation")
assertArticleLoaded("Ammoniac") assertArticleLoaded("Ammoniac")
assertArticleLoaded("Énergie hydroélectrique") assertArticleLoaded("Énergie hydroélectrique")
assertArticleLoaded("Feu de forêt")
assertArticleLoaded("Nuage") assertArticleLoaded("Nuage")
assertArticleLoaded("Essence (hydrocarbure)") assertArticleLoaded("Essence (hydrocarbure)")
assertArticleLoaded("Glacier") assertArticleLoaded("Glacier")