Skip to content

net.natura.testcommons.assertions.hasFooterInTextField

Lucas de Souza da Conceição edited this page Jul 2, 2020 · 2 revisions

hasFooterInTextField

fun hasFooterInTextField(expectedText: String): ViewAssertion

Checks if the TextField has a given text as footer.

Example usage:

onView(withId(R.id.the_textfield_id)).check(hasFooterInTextField("my footer message"))

Parameters

expectedText - The text that is expected to be displayed as footer message.

Clone this wiki locally