Completed the HelpFragmentTest

This commit is contained in:
s-ayush2903 2020-12-16 02:10:11 +05:30
parent b0c0b0892d
commit 6176d41870
No known key found for this signature in database
GPG Key ID: B4341DD08B2371CB
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))
}