onAncestors
Source set: Common
public fun SemanticsNodeInteraction.onAncestors(): SemanticsNodeInteractionCollection
Returns all the ancestors of this node.
Example: For the following tree
|-A
|-B
|-C <- this node
Returns B, A
Returns all the ancestors of this node.
CodeRabbit
AI writes the code. CodeRabbit catches the slop.
Robomori
Run Android emulators and devices outside Android Studio.
public fun SemanticsNodeInteraction.onAncestors(): SemanticsNodeInteractionCollection
Returns all the ancestors of this node.
Example: For the following tree
|-A
|-B
|-C <- this node
Returns B, A
Content updated: