AI_UIAutomation/utils
woan 85a6f04fb1 修 iOS 选品类点空:屏外元素先滚进可视区再点 + 校验真进流程
根因:WDA 返回屏外元素(品类常在 y=1192,屏高 844),旧代码直接点屏外坐标→点空没导航却 return true→relay 在目录页空按→添加失败("没点进入口")。
修复:① selectDeviceCategory 找到品类后先滚动送进可视区(y∈[0.10h,0.82h])再点,在下方下滑/上方上滑;② 点后用 "Add Manually"(目录页独有)是否消失校验真进流程,替代会误判的 includes(categoryName)。
验证:Robot Vacuum Cleaner S1 Plus 现可正确进入 Configuration wizard。

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-25 14:29:38 +08:00
..
common 修 iOS 选品类点空:屏外元素先滚进可视区再点 + 校验真进流程 2026-06-25 14:29:38 +08:00
agent.ts feat: initial commit - AI UI Automation (Midscene + Vitest) 2026-05-27 18:50:22 +08:00
automation-helper.ts feat: initial commit - AI UI Automation (Midscene + Vitest) 2026-05-27 18:50:22 +08:00
bot-helper.ts feat: initial commit - AI UI Automation (Midscene + Vitest) 2026-05-27 18:50:22 +08:00
ones-sync.ts feat: 必测项自动化锚点 + 动态设备锚点 + 双协议网络切换 + ONES mutation 回写 2026-06-01 16:10:57 +08:00
test-reporter.ts iOS P0 适配与稳定性修复 + 报告计数/重试增强 2026-06-25 11:57:34 +08:00
wda-helper.ts iOS P0 适配与稳定性修复 + 报告计数/重试增强 2026-06-25 11:57:34 +08:00