onAncestors
Source set: Common
@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.
Compose Multiplatform
Ship iOS, desktop, and web apps with Compose
RevenueCat
Add subscriptions to your apps in minutes
@CheckResult
fun SemanticsNodeInteraction.onAncestors(): SemanticsNodeInteractionCollection
Returns all the ancestors of this node.
For the following tree
|-A |-B |-C <- this node
Returns B, ALast updated: