mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-08-03 18:56:44 -04:00
Merge pull request #2598 from s-ayush2903/tests/s-ayush2903/#2618-complete-help-activity-test
test: Completed the HelpFragmentTest
This commit is contained in:
commit
afb14fa317
@ -34,6 +34,9 @@ class HelpFragmentTest : BaseActivityTest() {
|
|||||||
clickOnWhereIsContent()
|
clickOnWhereIsContent()
|
||||||
assertWhereIsContentIsExpanded()
|
assertWhereIsContentIsExpanded()
|
||||||
clickOnWhereIsContent()
|
clickOnWhereIsContent()
|
||||||
|
clickOnHowToUpdateContent()
|
||||||
|
assertHowToUpdateContentIsExpanded()
|
||||||
|
clickOnHowToUpdateContent()
|
||||||
clickOnSendFeedback()
|
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() {
|
fun clickOnSendFeedback() {
|
||||||
clickOn(ViewId(id.activity_help_feedback_text_view))
|
clickOn(ViewId(id.activity_help_feedback_text_view))
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user