AI_UIAutomation/utils/common
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
..
account-code.helper.ts feat: 新增多设备添加用例 + 灯类卡片控制(亮度/色温) + 选品类大小写不敏感 2026-06-17 18:47:11 +08:00
auth.helper.ts iOS P0 适配与稳定性修复 + 报告计数/重试增强 2026-06-25 11:57:34 +08:00
automation.helper.ts iOS P0 适配与稳定性修复 + 报告计数/重试增强 2026-06-25 11:57:34 +08:00
curtain.helper.ts iOS P0 适配与稳定性修复 + 报告计数/重试增强 2026-06-25 11:57:34 +08:00
device-add.helper.ts 修 iOS 选品类点空:屏外元素先滚进可视区再点 + 校验真进流程 2026-06-25 14:29:38 +08:00
device-info.helper.ts feat: initial commit - AI UI Automation (Midscene + Vitest) 2026-05-27 18:50:22 +08:00
device-registry.helper.ts feat: 串口配对添加链路 + 多设备连接用例 + soak/继电器工具 2026-06-09 14:14:37 +08:00
device-settings.helper.ts feat: initial commit - AI UI Automation (Midscene + Vitest) 2026-05-27 18:50:22 +08:00
element.helper.ts feat: initial commit - AI UI Automation (Midscene + Vitest) 2026-05-27 18:50:22 +08:00
feedback.helper.ts iOS P0 适配与稳定性修复 + 报告计数/重试增强 2026-06-25 11:57:34 +08:00
firmware.helper.ts feat: AI Hub 测试完善 + ONES 同步 + 必测项转换提示词 2026-05-29 11:04:12 +08:00
hub.helper.ts iOS P0 适配与稳定性修复 + 报告计数/重试增强 2026-06-25 11:57:34 +08:00
index.ts feat: 新增多设备添加用例 + 灯类卡片控制(亮度/色温) + 选品类大小写不敏感 2026-06-17 18:47:11 +08:00
message.helper.ts feat: 新增多设备添加用例 + 灯类卡片控制(亮度/色温) + 选品类大小写不敏感 2026-06-17 18:47:11 +08:00
navigation.helper.ts iOS P0 适配与稳定性修复 + 报告计数/重试增强 2026-06-25 11:57:34 +08:00
network.helper.ts feat: 必测项自动化锚点 + 动态设备锚点 + 双协议网络切换 + ONES mutation 回写 2026-06-01 16:10:57 +08:00
ones-anchor.helper.ts feat: 新增多设备添加用例 + 灯类卡片控制(亮度/色温) + 选品类大小写不敏感 2026-06-17 18:47:11 +08:00
preferences.helper.ts iOS P0 适配与稳定性修复 + 报告计数/重试增强 2026-06-25 11:57:34 +08:00
qr.helper.ts feat: 串口配对添加链路 + 多设备连接用例 + soak/继电器工具 2026-06-09 14:14:37 +08:00
relay.helper.ts feat: 新增多设备添加用例 + 灯类卡片控制(亮度/色温) + 选品类大小写不敏感 2026-06-17 18:47:11 +08:00
room.helper.ts feat: 新增多设备添加用例 + 灯类卡片控制(亮度/色温) + 选品类大小写不敏感 2026-06-17 18:47:11 +08:00
scene.helper.ts iOS P0 适配与稳定性修复 + 报告计数/重试增强 2026-06-25 11:57:34 +08:00
serial_controller.ts feat: 串口配对添加链路 + 多设备连接用例 + soak/继电器工具 2026-06-09 14:14:37 +08:00
test-resilience.helper.ts feat: 新增多设备添加用例 + 灯类卡片控制(亮度/色温) + 选品类大小写不敏感 2026-06-17 18:47:11 +08:00
timer.helper.ts feat: initial commit - AI UI Automation (Midscene + Vitest) 2026-05-27 18:50:22 +08:00
zendesk.helper.ts iOS P0 适配与稳定性修复 + 报告计数/重试增强 2026-06-25 11:57:34 +08:00