hasContentDescription

open fun hasContentDescription(contentDescription: String): ViewTreeAssert

Tests if any view hierarchy under the root has the given contentDescription.

Return

the assertions object

Parameters

contentDescription

the contentDescription to search for


Tests if any view hierarchy under the root has the given contentDescription.

Return

the assertions object

Parameters

resourceId

the resId of the contentDescription to search for