mg6maciej
02/13/2017, 10:15 AMprefix
and postfix
wouldn't hurt.
I have this API on top of Espresso for UI Android testing:
onId(R.id.sth).hasText("...")
onId(R.id.sth).isDisplayed()
and while I can
onId(R.id.sth) hasText "..."
I don't do that because I can't do
onId(R.id.sth) isDisplayed