viewContainsText

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

Check if the view associated with viewId has text that contains the expected string.