We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
fun hasValueInTextField(expectedText: String): ViewAssertion
fun hasValueInTextField(expectedText:
String
): ViewAssertion
Checks if the TextField has a given text.
Example usage:
onView(withId(R.id.the_textfield_id)).check(hasValueInTextField("my text"))
expectedText - The text that is expected to be displayed as content.
expectedText