Repository navigation
feat(skills): verify uno-testing through the accessibility tree, including Release builds - #162
Merged
Merged
Conversation
…e builds uno-testing only covered the App MCP, which reaches Debug builds through the DevServer. For Release builds, CI and devices the DevServer does not reach, agents fell back to coordinate clicks and screenshots read back into context. - SKILL.md: an "accessibility first" critical rule on every path; verify on Debug with the App MCP and use Release only when the task requires it; screenshots are saved to files and read back only for visual assertions; the naming rule covers AutomationId and Name per platform. - references/without-app-mcp.md: Windows UI Automation (PowerShell 7, no install) and Android uiautomator recipes to find, act and assert. - uno-platform router: uno-testing no longer requires the App MCP. Checked on a Release build of a recommended-preset app (Uno.Sdk 6.8, Skia): UI Automation exposes AutomationId (x:Name as fallback) and Name, and Invoke/Value/Toggle work; uiautomator exposes Name as content-desc but not AutomationId, even with IsUiAutomationMappingEnabled (unoplatform/uno#23934). Part of #160 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01KgZpA38RdNwvQACvcjLp8z
…ations In a FieldCheck re-run the agent followed the new reference but re-ran its whole end-to-end drivers after every fix (36 runs, 6-7 minutes each on Android) and rebuilt the Android Release app 7 times: verification took 82 minutes against 17-25 for comparable runs. uiautomator also could not dump while an indeterminate ProgressRing animated. - Re-run only the checks for the flow a fix touched; one full pass at the end. - A dump waits for an idle UI: retry once it settles, and assert a loading state from timed frames checked in the script, not read back. Part of #160 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01KgZpA38RdNwvQACvcjLp8z
In one Sonnet FieldCheck run, the agent read "Also covers Release builds without the App MCP, through Windows UI Automation or Android uiautomator", treated that as enough, and never loaded the skill. It then verified the Release build with coordinate clicks and screenshots. The description now asks for the skill to be loaded before verifying a Release build, and no longer names the method. This rests on a single run. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01KgZpA38RdNwvQACvcjLp8z
kazo0
force-pushed
the
feat/uno-testing-a11y-tree
branch
2 times, most recently
from
September 30, 2026 19:57
c46790b to
77b4cfa
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
GitHub Issue (If applicable): Part of #160
PR Type
What is the current behavior?
uno-testingonly covers the Uno App MCP, which reaches Debug builds through the DevServer (the DevServer package is not allowed in optimized builds,UNOB0019). When an agent has to verify a Release build, or the App MCP is not connected, the skill gives no guidance, and agents fall back to coordinate clicks and screenshots read back into context (61 screenshot reads during verification in the FieldCheck run described in #160).What is the new behavior?
uno-testing/SKILL.mdpath.AutomationProperties.AutomationIdand a readable, page-uniqueAutomationProperties.Nameon every control a test touches, with what each platform shows.uno-testing/references/without-app-mcp.md(~1.2k tokens): what each target exposes, a PowerShell 7 UI Automation recipe for Windows (no install), theuiautomatorloop for Android, and the pitfalls found while testing.uno-platform/SKILL.md: the router no longer saysuno-testingrequires the App MCP.skills/.Verified
Release build of a
recommended-preset app (Uno.Sdk 6.8.0-dev.51, Skia renderer),IsUiAutomationMappingEnablednot set:net10.0-desktop), UI Automationuiautomator dumpAutomationProperties.Name(or content text)Namecontent-descAutomationProperties.AutomationIdAutomationId(x:Namewhen no ID is set)IsUiAutomationMappingEnabled=true(unoplatform/uno#23934)bounds(physical px),input textTextBlocktext asName,ToggleState,IsEnabledcontent-desctext,checked;EditTexttextstays emptymacOS (Skia) does not expose its tree to AX clients (unoplatform/uno#24669); iOS, WebAssembly and Linux were not tested and stay on the App MCP.
PR Checklist
Additional Information
#160 stays open: its last task, a FieldCheck re-run comparing verification calls, screenshot reads and cost at
core_completeagainst the numbers in the issue, is queued separately.Test-Plugin.ps1,claude plugin validate --strictandagentskills validatepass locally.🤖 Generated with Claude Code
https://claude.ai/code/session_01KgZpA38RdNwvQACvcjLp8z