verifyTwoClickableNodes
@Sampled
fun verifyTwoClickableNodes() {
composeTestRule.onAllNodes(hasClickAction()).assertCountEquals(2)
}Represents a collection of semantics nodes and the path to fetch them from the semantics tree.
CodeRabbit
AI writes the code. CodeRabbit catches the slop.
Robomori
Run Android emulators and devices outside Android Studio.
@Sampled
fun verifyTwoClickableNodes() {
composeTestRule.onAllNodes(hasClickAction()).assertCountEquals(2)
}Content updated: