Package-level declarations
Types
A compose rule that wraps every setContent in the app's theme, replacing per-test setContent { AppTheme { ... } } boilerplate.
Properties
Functions
Stops automatic advancing and steps the clock by count frames, so a test can observe an animation or effect frame by frame.
Asserts the node is at least minSize wide and tall.
Asserts that two nodes have usable bounds and do not overlap; touching edges are allowed.
Captures the node's pixels as PNG bytes, for attaching to a failure or comparing with a reference outside a snapshot library.
Captures the node's pixels as PNG bytes, for attaching to a failure or comparing with a reference outside a snapshot library.
Combines the device settings a UI test most often varies into one override; null leaves a setting unchanged.
Returns the node's bounds in the root's pixel coordinates as a Frame.
Matches nodes whose test tag starts with prefix, such as every keyed row built from one automation identifier.
Finds the node whose content description is exactly label, case-sensitively.
Replaces the node's text and asserts the field now holds exactly text.
Scrolls the main container by fraction of the root's size on the given axis.
Returns the largest scrollable node on the given axis.
Scrolls a container until a node matching target is composed, and returns the target.
Waits until a node with any of tags exists in the unmerged tree, and returns the first tag found in argument order. Use it when a screen can land in one of several states.
Waits until a node with any of tags exists, and returns the first tag found in argument order.
Waits until a node with content description description is displayed and returns it.
Waits until a node with content description description is displayed and returns it.
Waits until a node with tag is displayed and returns it.
Waits until a node with tag is displayed and returns it.
Waits until a node showing text is displayed and returns it.
Waits until a node showing text is displayed and returns it.
Waits until a node matching matcher is displayed and returns it.
Waits until a node matching matcher is displayed and returns it.
Waits until no node matching matcher is displayed; nodes that exist off screen count as gone.
Waits until no node matching matcher is displayed.