Compose Unstyled 2.0 is out! Check the official announcement blog ->
Function

assertIsEnabled

Asserts that the current semantics node is enabled.

assertIsEnabled

Source set: Common
fun SemanticsNodeInteraction.assertIsEnabled(): SemanticsNodeInteraction

Asserts that the current semantics node is enabled.

Throws AssertionError if the node is not enabled or does not define the property at all.

Last updated: