viewEndsWithText

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

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