Merge pull request #2598 from s-ayush2903/tests/s-ayush2903/#2618-complete-help-activity-test

test: Completed the HelpFragmentTest
This commit is contained in:
Kelson 2021-03-05 08:19:22 +01:00 committed by GitHub
commit afb14fa317
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 0 deletions

View File

@ -34,6 +34,9 @@ class HelpFragmentTest : BaseActivityTest() {
clickOnWhereIsContent()
assertWhereIsContentIsExpanded()
clickOnWhereIsContent()
clickOnHowToUpdateContent()
assertHowToUpdateContentIsExpanded()
clickOnHowToUpdateContent()
clickOnSendFeedback()
}
}

View File

@ -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))
}