val TestTag = SemanticsPropertyKey<String>(
name = "TestTag",
mergePolicy = { parentValue, _ ->
// Never merge TestTags, to avoid leaking internal test tags to parents.
parentValue
}
)
It’s interesting, the ‘merge policy’ seems to say ‘only ever use the parent value’
I’m going to guess that means if there’s a conflict when adding a tag, then the tag is ignored and the original tag is retained