Function

isNotDisplayed

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

waitForNotDisplayed

fun waitForNotDisplayed() {
    val interaction = composeTestRule.onNodeWithTag("test")
    composeTestRule.waitUntil { interaction.isNotDisplayed() }
}