Skip to content

feat(cli): analyze report actions - #2922

Draft
quanruzhuoxiu wants to merge 1 commit into
feat/ai-act-load-extra-actionsfrom
feat/analyze-report-actions
Draft

feat(cli): analyze report actions#2922
quanruzhuoxiu wants to merge 1 commit into
feat/ai-act-load-extra-actionsfrom
feat/analyze-report-actions

Conversation

@quanruzhuoxiu

Copy link
Copy Markdown
Collaborator

Summary

  • add midscene analyze report.html with optional output and overwrite flags
  • export every successful report action as one standalone, loadable UI Action YAML file
  • persist generated XPath cache metadata in new reports and fall back to locatedPixelBbox for historical reports
  • skip failed actions and terminal Finished markers

Stack dependency

Depends on #2910, which introduces aiAct(..., { loadExtraActions }) and the one-operation-per-file UI Action protocol.

Validation

  • pnpm run lint
  • pnpm --filter @midscene/core exec vitest --run tests/unit-test/report-cli.test.ts tests/unit-test/bbox-locate-cache.test.ts
  • pnpm --filter @midscene/cli exec vitest --run tests/unit-test/report-command.test.ts
  • pnpm exec nx build @midscene/cli
  • built CLI against packages/web-integration/midscene_run/report/pr-2910-evidence/baseline-a.report.html: 12 standalone UI Actions exported; 6 historical locator actions explicitly reported as locatedPixelBbox fallbacks

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant