Function

isNotDisplayed

Asserts that the current semantics node is not displayed on screen.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free

isNotDisplayed

Common
fun SemanticsNodeInteraction.isNotDisplayed(): Boolean

Asserts that the current semantics node is not displayed on screen.

If no matching node is found, returns true. If multiple nodes match, throws an AssertionError.