android-components / mozilla.components.support.android.test.espresso / androidx.test.espresso.ViewInteraction

Extensions for androidx.test.espresso.ViewInteraction

Name Summary
assertHasFocus fun ViewInteraction.assertHasFocus(hasFocus: Boolean): ViewInteraction
Asserts the View has focus or does not have focus based on the Boolean argument.
assertIsChecked fun ViewInteraction.assertIsChecked(isChecked: Boolean): ViewInteraction
Asserts the View is checked or is not checked based on the Boolean argument.
assertIsDisplayed fun ViewInteraction.assertIsDisplayed(isDisplayed: Boolean): ViewInteraction
Asserts the View is displayed or is not displayed based on the Boolean argument.
assertIsEnabled fun ViewInteraction.assertIsEnabled(isEnabled: Boolean): ViewInteraction
Asserts the View is enabled or is not enabled based on the Boolean argument.
assertIsSelected fun ViewInteraction.assertIsSelected(isSelected: Boolean): ViewInteraction
Asserts the View is selected or is not selected based on the Boolean argument.
click fun ViewInteraction.click(): ViewInteraction
Shorthand to ViewActions.click the View.