Source set: Common
public var SemanticsPropertyReceiver.testTag: String by SemanticsProperties.TestTag
Test tag attached to this semantics node.
This can be used to find nodes in testing frameworks:
- In Compose's built-in unit test framework, use with
- For newer AccessibilityNodeInfo-based integration test frameworks, it can be matched in the
- For legacy AccessibilityNodeInfo-based integration tests, it's optionally exposed as the
onNodeWithTag.
extras with key "androidx.compose.ui.semantics.testTag"
resource id if testTagsAsResourceId is true (for matching with 'By.res' in UIAutomator).