Function

assertIsSelected

Asserts that the current semantics node is selected.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free

assertIsSelected

Common
fun SemanticsNodeInteraction.assertIsSelected(): SemanticsNodeInteraction

Asserts that the current semantics node is selected.

Throws AssertionError if the node is unselected or not selectable.