AI_UIAutomation/docs
woan 373a8bd6fa feat: 必测项自动化锚点 + 动态设备锚点 + 双协议网络切换 + ONES mutation 回写
ONES 回写:
- ones-sync 改为 ones graphql mutation(updateTestcasePlanCase/Step),修复 token 打码导致的 401;支持 step 级回写、按 case 聚合
- gen-writeback-params.ts + ones-writeback-params.json:固化用例/步骤 uuid,给 plan 链接即可回写

必测项锚点(reporter.record 名带 [P0][ONES:号(#step)][协议],it 标题带 [ONES:号] 备注):
- 添加:15 个 connect
- 控制:bot/color_bulb/lock/plug/strip_light/fan/sensor/humidifier/ceiling_light/curtain/meter/urc(双协议,PROTO 切换)
- 同品类多型号:ones-anchor.helper 动态解析(curtain/lock/plug/sensor/humidifier/hub/meter/robot),换 <CAT>_DEVICE 重跑分别回写

双协议网络前置(network.helper + driver.activateApp):
- Android adb(svc wifi + am start 蓝牙设置点 switch_widget;实测 svc bluetooth 不可用)
- iOS 系统设置 UI(蓝牙 name=BLUETOOTH / WiFi name=无线局域网,iOS26.5 实测)

测试计划:generate_test_plan.py 重构为优先级四层(必测项→探索→全功能→平台)+ AI人力估算 + 双平台/夜测/硬件并行;去除机械臂4款(82→78)
提示词:must_test_conversion / ones_to_automation(含 iOS 快速连接) / test_plan_conversion

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-01 16:10:57 +08:00
..
UI自动化测试计划.docx feat: 必测项自动化锚点 + 动态设备锚点 + 双协议网络切换 + ONES mutation 回写 2026-06-01 16:10:57 +08:00
generate_test_plan.py feat: 必测项自动化锚点 + 动态设备锚点 + 双协议网络切换 + ONES mutation 回写 2026-06-01 16:10:57 +08:00