Skip to content

Commit

Permalink
Merge pull request #889 from rkowase/test/add_about_screen_tests
Browse files Browse the repository at this point in the history
Add test cases for AboutScreenRobot to assert AuxiliaryInformation
  • Loading branch information
takahirom authored Oct 8, 2022
2 parents d963e70 + d675991 commit 9fbaaea
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@ class AboutScreenRobot @Inject constructor() {
composeTestRule.onNodeWithContentDescription("Twitter").assertExists()
composeTestRule.onNodeWithContentDescription("YouTube").assertExists()
composeTestRule.onNodeWithContentDescription("Medium").assertExists()

// AuxiliaryInformation
composeTestRule.onNodeWithText("Access")
composeTestRule.onNodeWithText("Staff List")
composeTestRule.onNodeWithText("License")
composeTestRule.onNodeWithText("Code Conduct")
composeTestRule.onNodeWithText("Privacy Policy")
composeTestRule.onNodeWithText("App Version")
}

operator fun invoke(
Expand Down

0 comments on commit 9fbaaea

Please sign in to comment.