Source set: Common
Added in 1.11.0-rc01
@CheckResult
fun SemanticsNodeInteraction.onAncestors(): SemanticsNodeInteractionCollection
Returns all the ancestors of this node.
For the following tree
|-A |-B |-C <- this node
Returns B, AReturns all the ancestors of this node.
Added in 1.11.0-rc01
@CheckResult
fun SemanticsNodeInteraction.onAncestors(): SemanticsNodeInteractionCollection
Returns all the ancestors of this node.
For the following tree
|-A |-B |-C <- this node
Returns B, A