https://kotlinlang.org logo
#compose
Title
# compose
v

Vivek Modi

07/25/2022, 3:00 PM
Hey guys, we were using
xml
for ui components which has
id/tag
that is used for
automated ui testing
. Now we switch to jetpack compose. So how can I provide this
id/tag
for
automation
now?
l

Landry Norris

07/25/2022, 3:08 PM
Modifier.testTag("an id")
v

Vivek Modi

07/25/2022, 3:10 PM
okk sure, thanks a lot
15 Views