assertContainedIn
fun SemanticsNodeInteraction.assertContainedIn(container: SemanticsNodeInteraction, tolerance: Float = 0.0f): SemanticsNodeInteraction(source)
Asserts that this node lies within container, allowing tolerance pixels for rounding.
Return
This interaction, for chaining.
Parameters
container
The enclosing node.
tolerance
A nonnegative allowance on every side, in pixels.
Throws
with both frames when the node is outside the container.