Commit Graph
25 Commits
Author SHA1 Message Date
claude[bot]anddebugtalk a8f218ec25 fix: add skip statements to mobile-dependent tests
Added skip statements to all tests with //go:build localtest build tag that require physical mobile devices or external services. This prevents test failures in CI/CD environments where devices are not available.

Tests skipped:
- Android UI tests (require ADB device)
- iOS UI tests (require WDA device)
- HarmonyOS tests (require HDC device)
- AI service tests (require external LLM services)
- Upload tests (require external HTTP services)
- Device driver extension tests (require physical devices)

Total: 150+ test functions across 25 files now properly skip instead of fail.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-authored-by: debugtalk <debugtalk@users.noreply.github.com>
2025-08-02 14:55:06 +00:00
lilong.129 3171cb8aaf change: swipe to tap app, set offset to 0,-100 2025-07-02 16:39:23 +08:00
lilong.129 460570f651 fix(uixt): fix uixt__input not working and add comprehensive unit tests
- Fix parameter mapping issue where AI model's 'content' parameter wasn't mapped to 'text' field
- Add mapParameterName function to handle parameter name mapping (content->text, key->keycode)
- Add comprehensive unit tests for convertProcessedArgs and mapParameterName functions
- Update existing test cases to match new parameter format (x,y for single coords, from_x,from_y,to_x,to_y for drag)

This resolves the issue where uixt__input action was not working due to parameter name mismatch.
2025-06-07 15:03:29 +08:00
lilong.129 5f400735fc fix: 修复 StartToGoal 命令无法通过 CTRL+C 中断的问题
- 为 AI 相关方法添加 context.Context 参数支持中断

- 在重试循环中添加上下文取消检查

- 创建可取消的上下文并监听中断信号

- 更新 MCP 工具调用使用带上下文的方法

现在用户可以通过 CTRL+C 正常中断长时间运行的 AI 自动化任务
2025-06-05 20:00:20 +08:00
lilong.129 d95eec78b0 feat: add WithPreMarkOperation and WithPostMarkOperation to mark UI operation before/after action 2025-05-12 08:58:27 +08:00
lilong.129 7bad75f92d fix: syntax error 2025-05-09 11:22:10 +08:00
lilong.129 cfc71819d2 feat: mark tap/swipe UI operation 2025-05-05 16:31:13 +08:00
lilong.129 6569121d5d refactor: move LoadImage 2025-04-30 16:21:01 +08:00
lilong.129 0e9389c796 refactor: NewXTDriver api, return error if init failed 2025-04-30 14:31:36 +08:00
lilong.129 9bcdd5d19a feat: add AIAsert 2025-04-27 22:25:06 +08:00
lilong.129 aeee9c7f7b merge v5 2025-03-25 14:25:37 +08:00
lilong.129 1745391a80 fix: convert abs scope for FindScreenText 2025-03-25 14:04:41 +08:00
lilong.129 5ebfca7f62 refactor: add AIAction 2025-03-22 12:08:42 +08:00
lilong.129 12e0f7f9a2 feat: save screenshots for PlanNextAction 2025-03-22 01:07:28 +08:00
lilong.129 55acaceb09 feat: add TapByLLM/PlanNextAction for XTDriver 2025-03-19 21:16:21 +08:00
lilong.129 7d8efaa540 test: drag direction with random offset 2025-03-17 18:13:54 +08:00
lilong.129 5e2f33b362 feat: TapByCV WithTapRandomRect 2025-03-17 18:06:32 +08:00
lilong.129 182de16751 feat: ApplySwipeOffset 2025-03-17 17:57:10 +08:00
lilong.129 9fb53590ca refactor: rename ApplyTapOffset 2025-03-17 17:44:04 +08:00
lilong.129 b34a2218fe feat: tap random point in ocr text rect 2025-03-17 15:36:35 +08:00
lilong.129 7f69052be6 change: FindScreenText return text rect 2025-03-17 15:09:04 +08:00
lilong.129 3e7e9b0ef9 change: tap/swipe with offset 2025-03-17 14:36:09 +08:00
lilong.129 124c222fbf test: add unittest 2025-03-11 22:12:02 +08:00
lilong.129 98d1ecb478 fix: replace with session ID 2025-03-05 14:52:32 +08:00
lilong.129 e107389d6e refactor: move uixt pkg 2025-03-05 11:04:02 +08:00