Function

hasTestTag

Returns whether the node is annotated by the given test tag.

hasTestTag

Source set: Common
public fun hasTestTag(testTag: String): SemanticsMatcher

Returns whether the node is annotated by the given test tag.

Parameters

testTag Value to match.
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: