feat(android): add standalone accessibility XPath audit core - #2891
Open
quanruzhuoxiu wants to merge 1 commit into
Open
feat(android): add standalone accessibility XPath audit core#2891quanruzhuoxiu wants to merge 1 commit into
quanruzhuoxiu wants to merge 1 commit into
Conversation
This was referenced Jul 29, 2026
Deploying midscene with
|
| Latest commit: |
88e5aa6
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://4b5c709f.midscene.pages.dev |
| Branch Preview URL: | https://feat-android-xpath-audit-cor-ezpq.midscene.pages.dev |
quanru
force-pushed
the
feat/android-xpath-audit-core-standalone
branch
from
August 12, 2026 01:52
e55803b to
88e5aa6
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.
Summary
Scope
This PR is self-contained on
main. It does not enable production XPath caching, add a cache feature flag, or depend on another unmerged PR. The internal XPath primitives are introduced only to support the audit tool in this stack.Stack order:
feat/android-xpath-audit-cli-standalone: capture CLI and static HTML reportfeat/android-xpath-audit-playground-standalone: live Playground audit UIValidation
pnpm --filter @midscene/core exec vitest --config vitest.config.ts --run tests/unit-test/device-cache/parse-xml.test.ts tests/unit-test/device-cache/xpath-cross-state.test.ts tests/unit-test/device-cache/xpath-query.test.ts tests/unit-test/device-cache/xpath-tree.test.ts(77 tests)pnpm --filter @midscene/android exec vitest --config vitest.config.ts --run tests/unit-test/audit-metadata.test.ts tests/unit-test/cache-compatibility.test.ts tests/unit-test/page.test.ts tests/unit-test/uiautomator-tree.test.ts tests/unit-test/xpath-audit.test.ts(231 tests)pnpm exec nx run-many --target=build --projects=@midscene/core,@midscene/android --skip-nx-cachepnpm run lint