Compose Unstyled 2.0 is out! Check the official announcement blog ->
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() }
}

Last updated: