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