You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A proposal to use the SemanticsProperties.TestTag as a fallback in compose/click module to discover clicked node name and send it as app.widget.name.
Currently only SemanticsActions.OnClick and SemanticsProperties.ContentDescription are discovered on clickable composable element to get the name of clicked widget.
In many cases the TestTag is used on the clickable elements for further testing purposes and it would be nice to have this also as an option in open-telemetry to not duplicate multiple semantic properties with the same value.
code snippet
val testTagSemanticsConfiguration = getOrNull(SemanticsProperties.TestTag)
if (testTagSemanticsConfiguration.isNullOrBlank().not()) {
return testTagSemanticsConfiguration
}
Mateusz-Stasielowicz, Kleszczu98, tjuchniewicz and cleverchuk