Skip to content

Temp/ai test framework full ops - #119

Merged
songdiyang merged 3 commits into
devfrom
temp/ai-test-framework-full-ops
Aug 12, 2026
Merged

Temp/ai test framework full ops#119
songdiyang merged 3 commits into
devfrom
temp/ai-test-framework-full-ops

Conversation

@songdiyang

Copy link
Copy Markdown
Collaborator

变更内容

更新了哪些特性

修复了哪些问题

其他说明

- 核心层(AetherTest.psm1)新增10个函数:
  - Send-AetherHotkey: Ctrl/Shift/Alt组合键注入
  - Send-AetherDoubleClickMsg/Send-AetherMiddleClickMsg: 双击/中键
  - Send-AetherMouseWheel: 垂直/水平滚轮(支持Shift/Ctrl修饰)
  - Send-AetherMouseMoveMsg: PostMessage鼠标移动
  - Send-AetherDrag: 完整拖拽(按下→分步移动→释放)
  - Resize-AetherWindow/Move-AetherWindow: 窗口大小/位置
  - Set-AetherWindowState: 最小化/最大化/还原(可触发冰冻态)
  - Close-AetherWindow: WM_CLOSE正常关闭流程
  - Get-AetherVirtualKeyCode: 统一按键名称→虚拟键码转换

- AI协作层(AetherAi.psm1)新增4个函数:
  - Find-AetherHitRegion: 语义化hit region查找
  - Invoke-AetherSmartClick: 语义化点击
  - Wait-AetherHitRegion: 等待UI元素出现
  - Get-AetherEditorState: 编辑器状态摘要

- 动作脚本DSL扩展10种新动作类型:
  dblclick/mclick/move/wheel/drag/hotkey/resize/movewin/winstate/closewin

- 更新AI_TESTING.md: 完整输入参考表+快捷键速查+3条新陷阱
- 更新模板和自检脚本覆盖全部新能力
@songdiyang
songdiyang merged commit 0ecdb89 into dev Aug 12, 2026
2 of 3 checks passed
@songdiyang
songdiyang deleted the temp/ai-test-framework-full-ops branch August 12, 2026 13:29
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