assertIsOn
Source set: Common
public fun SemanticsNodeInteraction.assertIsOn(): SemanticsNodeInteraction
Asserts that the current semantics node is checked.
Throws AssertionError if the node is not unchecked, indeterminate, or not toggleable.
Asserts that the current semantics node is checked.
CodeRabbit
AI writes the code. CodeRabbit catches the slop.
Robomori
Run Android emulators and devices outside Android Studio.
public fun SemanticsNodeInteraction.assertIsOn(): SemanticsNodeInteraction
Asserts that the current semantics node is checked.
Throws AssertionError if the node is not unchecked, indeterminate, or not toggleable.
Content updated: