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
{{ message }}
Repository navigation
Android fill verification: share one node-to-target identity match #5223
readAndroidTextAtPointInHierarchy (read path): resource id + package + strict node.className === target.type. A Compose role-folded node (raw container class, published role type) never matches by identity here, so the read falls through to the point read.
uniqueAndroidFillTarget (fresh-capture uniqueness): resource id + package between two nodes, with no class check.
Required behavior
One exported helper, such as androidNodeMatchesFillTarget(node, target), owns the identity match: resource id, optional package, and the class compared through androidRawClassMatchesPublishedType.
Sites 1 and 2 call it. Site 2 then matches a Compose role-folded node by identity, like the fill pre-read does. This is a behaviour change for reads.
Site 3 either uses the same helper (build the target from the node) or documents why it compares node to node without a class.
Optional, same area: when several visible nodes share the identity (recycled lists), the fill pre-read compares rect or text/hint, or refuses when the match at the point is not unique.
Completion conditions
fill-verification.ts has one identity-match helper. No inline resource-id/package/class predicate is left.
A unit test covers a Compose role-folded node read by identity on the read path.
The issue identifies concrete inconsistent Android fill-verification behavior: the read path uses strict class equality so Compose role-folded nodes fail identity matching and fall back to point reads. It specifies the affected code sites and required completion criteria, making it actionable.
Activity
apex-sentinel-staging commentedon Nov 29, 2026
Apex Sentinel · Issue review
Suggested label:
bugThe issue identifies concrete inconsistent Android fill-verification behavior: the read path uses strict class equality so Compose role-folded nodes fail identity matching and fall back to point reads. It specifies the affected code sites and required completion criteria, making it actionable.
Required sections