Function

assertIsNotDisplayed

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

assertIsNotDisplayed

Common
fun SemanticsNodeInteraction.assertIsNotDisplayed(): SemanticsNodeInteraction

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

Throws AssertionError if the node is displayed.