Created
January 4, 2022 12:13
-
-
Save ferPrieto/0d8478764a7861d3730236e479f3fd47 to your computer and use it in GitHub Desktop.
This is an example of how to identify a node by Semantics: ContentDescription
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private val dialogFilterButton by lazy { | |
composeTestRule.onNodeWithContentDescription("Filter Button") | |
} | |
@Test | |
fun elementsVisibilityAfterOpeningTheMainScreen() { | |
setMainContent() | |
dialogFilterButton.assertIsDisplayed() | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment