New Compose Multiplatform components arrived on Composables UICheck it out →

Modifier in Compose Ui

testTag

Common

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

Last updated:

Installation

dependencies {
   implementation("androidx.compose.ui:ui:1.7.0-beta04")
}

Overloads

@Stable
fun Modifier.testTag(tag: String)