Function

assertValueEquals

Asserts the node's value equals the given value.

assertValueEquals

Source set: Common
fun SemanticsNodeInteraction.assertValueEquals(value: String): SemanticsNodeInteraction

Asserts the node's value equals the given value.

For further details please check SemanticsProperties.StateDescription. Throws AssertionError if the node's value is not equal to value, or if the node has no value

Last updated: