onDisplay
Activates Activity on the display specified in context and introduces a scope for actions and assertions. Lambda action is supplied with ActiveDisplayScope as a receiver. In this lambda it is important to always use ActiveDisplayScope.rootMatcher when obtaining a ViewInteraction.
May not be called recursively.
Deprecated (with error)
Nested active display scopes are not allowed.
Replace with
Prevents contraptions like:
onDisplay(xxx) {
onDisplay(yyy) {
}
}
This is not supported.
Content copied to clipboard