waitForViewAndCheckNotDisplayed

fun waitForViewAndCheckNotDisplayed(viewMatcher: Matcher<View>): ViewInteraction

Wait for a view to become available and then check that it is not visible.