Skip to content

android: fold Compose role nodes into their container in the compact tree #387

Open

Description

@ElbertePlinio

In a Compose app, a clickable container with a test tag can hold an unlabeled, non-clickable child with a role such as Button. The compact tree from #351 shows the container as View, so the Button role is lost. callstack/agent-device folds the role node into its container.

This is optional polish. Labels, ids and bounds are already kept.

Checklist

  • Fold an unlabeled role child into its clickable container in the compact tree
  • Add a Compose fixture test

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions