Function

assertHasNoClickAction

Asserts that the current semantics node has doesn't have a click action.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free

assertHasNoClickAction

Common
fun SemanticsNodeInteraction.assertHasNoClickAction(): SemanticsNodeInteraction

Asserts that the current semantics node has doesn't have a click action.

Throws AssertionError if the node has a click action.