testIdentifier

fun Modifier.testIdentifier(identifier: TestIdentifier, suffix: String? = null): Modifier

Sets the test tag of a composable to the tag of the enum case.