androidx.compose.ui.platform

testTag

Function · from org.jetbrains.compose.ui:ui:1.12.2

No hand-written docs yet.

Applies a tag to allow modified element to be found in tests.

Parameters

fun Modifier.testTag(tag: String)

tag: StringRequired

Not described.

Library docs

Applies a tag to allow modified element to be found in tests.

This is a convenience method for a semantics that sets SemanticsPropertyReceiver.testTag.