Skip to content

Commit

Permalink
Fixed HelpFragmentTest that is failing on API level 30,33.
Browse files Browse the repository at this point in the history
  • Loading branch information
MohitMaliFtechiz authored and kelson42 committed Dec 29, 2023
1 parent aeca8d2 commit 9b14868
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import org.kiwix.kiwixmobile.Findable.Text
import org.kiwix.kiwixmobile.Findable.ViewId
import org.kiwix.kiwixmobile.core.R.id
import org.kiwix.kiwixmobile.core.R.string
import org.kiwix.kiwixmobile.core.main.KIWIX_APK_WEBSITE_URL

fun help(func: HelpRobot.() -> Unit) = HelpRobot().apply(func)

Expand Down Expand Up @@ -86,7 +87,14 @@ class HelpRobot : BaseRobot() {
}

fun assertZimFileNotShowingIsExpanded() {
isVisible(TextId(string.zim_files_not_showing_description))
isVisible(
Text(
context.getString(
string.zim_files_not_showing_description,
KIWIX_APK_WEBSITE_URL
)
)
)
}

fun assertZimFileNotShowingIsNotVisible() {
Expand Down

0 comments on commit 9b14868

Please sign in to comment.