The Android Developer Challenge is back! Submit your idea before December 2.

SemanticsNodeInteraction

class SemanticsNodeInteraction
kotlin.Any
   ↳ androidx.ui.test.SemanticsNodeInteraction

Represents a component with which one can interact with the hierarchy. Examples of interactions include findByTag, isToggleable, assertIsChecked, doClick

Example usage: findByTag("myCheckbox") .doClick() .assertIsChecked()

Summary

Extension functions

From androidx.ui.test
SemanticsNodeInteraction

Asserts that the current component has a click action.

SemanticsNodeInteraction

Asserts that the current component doesn't have a click action.

SemanticsNodeInteraction

Asserts that the current component is checked.

SemanticsNodeInteraction

Asserts that current component is hidden.

SemanticsNodeInteraction

Asserts the component is in a mutually exclusive group.

SemanticsNodeInteraction

Asserts that the current component is selected.

SemanticsNodeInteraction

Asserts that the current component is unchecked.

SemanticsNodeInteraction

Asserts that the current component is unselected.

SemanticsNodeInteraction

Asserts that current component is visible.

Unit

Asserts that the component isn't part of the component tree anymore.

SemanticsNodeInteraction

Asserts that the semantics of the component are the same as the given semantics.

SemanticsNodeInteraction

Asserts the component's value equals the given value.

SemanticsNodeInteraction

Performs a click action on the given component.

Unit

Unit

Verifies that the provided condition is true.