waitUntilGone

fun ComposeUiTest.waitUntilGone(matcher: SemanticsMatcher, timeout: Duration = DefaultUiTimeout, useUnmergedTree: Boolean = false)(source)

Waits until no node matching matcher is displayed; nodes that exist off screen count as gone.

Parameters

matcher

Selects the node.

timeout

The nonnegative wait budget.

useUnmergedTree

Whether to search the unmerged semantics tree.

Throws

fun ComposeTestRule.waitUntilGone(matcher: SemanticsMatcher, timeout: Duration = DefaultUiTimeout, useUnmergedTree: Boolean = false)(source)

Waits until no node matching matcher is displayed.

Parameters

matcher

Selects the node.

timeout

The nonnegative wait budget.

useUnmergedTree

Whether to search the unmerged semantics tree.