Skip to content

UI journeys tap tabs through adb because the pinned DevFlow has no real-touch API #228

Open

Description

@zhollis21

Filed while building the UI journeys for #131 (branch feature/131-ui-journeys, 2026-11-20).

Problem

The UI journeys switch tabs with adb shell input tap instead of through DevFlow. DevFlow's own tap invokes an element's action directly rather than touching the screen, and on a Shell tab switch that skips the pushed page's OnNavigatedTo. A journey switching tabs that way passes even while #127's bug is live (AGENTS.md, "UI journeys"). So the suite carries its own adb plumbing: AndroidDevice, density conversion, and a --test-parameter Device=<serial>.

DevFlow now has a real-touch API. Pointer sessions (dotnet/maui-labs#822, c73c6a0, merged 2026-11-18) build MotionEvent down/up events on Android and send them into the activity's view, which is the path a finger takes. That would let AppDriver.TouchAsync go back through the agent and the adb path be deleted.

Blocked on

Pointer sessions are not in a nuget.org release yet. The newest, 0.1.0-preview.14.26567.2 (checked 2026-11-20), has no StartPointerSessionAsync; we pin 0.1.0-preview.14.26555.2. Taking them now would mean maui-labs' nightly feed. We decided not to do that, because every Debug and CI build would then carry an unreleased agent.

Once a release includes #822: upgrade Microsoft.Maui.DevFlow.Agent, Microsoft.Maui.DevFlow.Client and the global maui CLI together (Directory.Packages.props keeps them in step). Then check that a pointer-session tap on a tab gives the pushed page its OnNavigatedTo. Only after that remove the adb path, and update the AGENTS.md caveat and /run-app to match.

Related

Activity

  1. added
    p3-medium
    Tech Debt
    blocked
    on Nov 21, 2026
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

    Tech Debtblockedp3-medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions