Commit Graph

4 Commits

Author SHA1 Message Date
woan ae336e300f iOS P0 适配与稳定性修复 + 报告计数/重试增强
- iOS reset-except 重写:滚动找可删卡逐张/批量删(一批~10),跳过固定插件与删除异常项,NEVER_KEEP 让 Outdoor PTC 可删
- goBackToHomepage 修误触:isFullscreen 加 source.length<2500 闸(Preferences 不再误判全屏点进消息页),根 tab 页精确点 Home tab,加载守卫
- iOS WiFi 配网:轮询点"加入"系统框 + Available now 成功判定;扫地机 S1P relay 等 Second step 再按
- 卡片查找统一改"滚到找到/到底"(bot/plug/water control),修 34 设备首页找不到卡片
- 选品类慢滑防过冲;feedback 滚轮用 setPickerWheelValue;插件热更多行解析
- 报告:plug/curtain suite 带设备名 + PROTO 后缀(ble/wifi 各算一条,修用例总数偏低);总体成功率;控制/添加失败重试
- iOS 全 P0:补 keypad/平台/账号 TAIL + doorbell/outdoor_ptc + camera_stream Outdoor PTC

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-25 11:57:34 +08:00
woan c67f46992f feat: 新增多设备添加用例 + 灯类卡片控制(亮度/色温) + 选品类大小写不敏感
添加用例(真机验证通过, Android):
- 屋檐灯 Permanent Outdoor Lights(ch38/4s, 发现页流程)
- URC 万能遥控器(ch20+21 双键同按/4s, 发现页流程)
- Relay Switch 1(ch48/2s; 二级选型号 + Skip this guide + Select Device 选设备)
- AI Art Frame(ch46/3s, 流程同 AI Hub; 首页名 AI→Al 渲染坑用 "Art Frame" 匹配 + 升级弹框关闭)
- Hub 3(ch9+10 双键同按/5s, 发现页流程而非 Hub Mini 流程)
- Contact Sensor(ch47/6s 串口配对)
- 门铃 Video Doorbell(ch36+37 同按/5s) 注释更正

控制用例:
- 灯类首页卡片通用控制 eave_light_control(动态识别电源键+滑条; 亮度+色温; 边缘夹紧防返回手势)
  覆盖屋檐灯/RGBICWW Floor Lamp/RGBWW Floor Lamp/RGBWW Strip Light 3/Strip Light 4E/Color Bulb/Ceiling Light Pro

helper/config:
- selectDeviceCategory 大小写不敏感全字匹配(textMatches (?i))
- config/relay.config.ts 新增 eave_light/urc/strip_light_3/relay_switch/hub3/ai_art_frame 通道
- run-p0-all.sh 纳入上述 ADD/CONTROL

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-17 18:47:11 +08:00
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
woan cb274082ee feat: initial commit - AI UI Automation (Midscene + Vitest) 2026-05-27 18:50:22 +08:00