Class

SemanticsNodeInteractionCollection

Represents a collection of semantics nodes and the path to fetch them from the semantics tree.

verifyTwoClickableNodes

@Sampled
fun verifyTwoClickableNodes() {
    composeTestRule.onAllNodes(hasClickAction()).assertCountEquals(2)
}
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: