viewHasText

fun RobotAssertions.viewHasText(@IdRes viewId: Int, expected: String)

Check if the view associated with viewId has expected text.


fun RobotAssertions.viewHasText(@IdRes viewId: Int, @StringRes messageResId: Int)

Check if the view associated with viewId has string associated with messageResId text.