mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-21 03:02:59 -04:00
Completed the HelpFragmentTest
This commit is contained in:
parent
b0c0b0892d
commit
6176d41870
@ -34,6 +34,9 @@ class HelpFragmentTest : BaseActivityTest() {
|
||||
clickOnWhereIsContent()
|
||||
assertWhereIsContentIsExpanded()
|
||||
clickOnWhereIsContent()
|
||||
clickOnHowToUpdateContent()
|
||||
assertHowToUpdateContentIsExpanded()
|
||||
clickOnHowToUpdateContent()
|
||||
clickOnSendFeedback()
|
||||
}
|
||||
}
|
||||
|
@ -66,6 +66,14 @@ class HelpRobot : BaseRobot() {
|
||||
)
|
||||
}
|
||||
|
||||
fun clickOnHowToUpdateContent() {
|
||||
clickOn(TextId(string.how_to_update_content))
|
||||
}
|
||||
|
||||
fun assertHowToUpdateContentIsExpanded() {
|
||||
isVisible(TextId(string.update_content_description))
|
||||
}
|
||||
|
||||
fun clickOnSendFeedback() {
|
||||
clickOn(ViewId(id.activity_help_feedback_text_view))
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user