Function

assertHasClickAction

Asserts that the current semantics node has a click action.

Source set: Common

Added in 1.11.0-rc01

fun SemanticsNodeInteraction.assertHasClickAction(): SemanticsNodeInteraction

Asserts that the current semantics node has a click action.

Throws AssertionError if the node is doesn't have a click action.