Hey, do you know if there is a way in compose UI t...
# compose
l
Hey, do you know if there is a way in compose UI tests to check if an icon is displayed ?
d
You give the Icon a
Modifier.testTag(...)
and in the test you check if a node with the specified testtag is displayed:
composeTestRule.onNodeWithTag(...).assertIsDisplayed()