selectSpinnerItemByText

fun selectSpinnerItemByText(text: String): ViewAction

Selects an item from a Spinner which matches the given text exactly. Items are matched with a simple Any.toString equality comparison and thus this might not be suitable for complex adapters.