Commit Graph

41 Commits

Author SHA1 Message Date
lilong.129
b3eb1a7f8a change: GenHTMLReport will also SetSaveTests 2025-06-25 17:28:51 +08:00
lilong.129
bfa6a0e4cd feat: add case.json support for HTML report generation and enhance logging for step execution 2025-06-25 14:40:04 +08:00
lilong.129
70471d2fb4 fix: enhance logging for interrupted processes and ensure step results are saved in failfast mode 2025-06-25 11:57:09 +08:00
lilong.129
084c28834c fix: improve step execution handling with interrupt support and result logging 2025-06-24 21:08:59 +08:00
lilong.129
54001363e4 feat: save json case to results directory 2025-06-24 19:46:12 +08:00
lilong.129
b320bbda31 feat: add parameterization support for test cases and steps with configuration options 2025-06-23 21:34:18 +08:00
lilong.129
6cc3c3acb5 refactor: update driver caching mechanism to use generic CacheManager and improve metadata handling 2025-06-22 21:42:50 +08:00
lilong.129
c568be5dc2 refactor: replace hardcoded log messages with constants for improved readability and maintainability 2025-06-19 10:48:33 +08:00
lilong.129
1145f424b1 feat: implement two-level auto popup handler configuration
- Add AutoPopupHandler field to both TConfig and StepConfig
- Support testcase-level global configuration via TConfig.EnableAutoPopupHandler()
- Support step-level specific configuration via StepMobile.EnableAutoPopupHandler()
- Priority: testcase config > step config > default disabled
- Simplify Loops field type from *types.IntOrString to int in StepConfig
- Update documentation to reflect new structure
2025-06-14 12:11:04 +08:00
lilong.129
b271e655b1 feat: add MCP plugin support and optimize AI service configuration
- Add UIXT runner with MCP plugin support
   - Refactor AI service options handling
   - Optimize configuration parsing for LLM and CV services
   - Update dependencies to latest versions
2025-06-13 20:24:57 +08:00
lilong.129
604eed3340 refactor: optimize runner error handling and cleanup logic
- Use defer for summary saving and HTML report generation to ensure they run regardless of exit path
- Remove unnecessary sync.Once for cleanup operations since defer guarantees single execution
- Simplify error handling logic by removing redundant runErr checks
- Improve interrupt handling with better logging messages
- Ensure graceful cleanup and data persistence even when interrupted
2025-06-07 16:36:53 +08:00
lilong.129
dc20eaa816 fix: resolve global AntiRisk configuration not taking effect 2025-05-29 19:22:23 +08:00
lilong.129
d3011d467e feat: enhance signal handling and graceful shutdown for MCP integration 2025-05-29 00:59:17 +08:00
lilong.129
08a8b06578 feat: add MCP config support to hrp run command with priority handling 2025-05-28 23:11:52 +08:00
lilong.129
866cc0e4d2 feat: implement MCP hooks integration with anti_risk option 2025-05-27 19:46:08 +08:00
lilong.129
9a5e0849de fix: handle GetOrCreateXTDriver when serial is empty 2025-05-26 21:25:25 +08:00
lilong.129
2569670c7f feat: implement unified XTDriver cache 2025-05-26 19:39:46 +08:00
lilong.129
0c20fe7b02 feat: add argument --with-uixt to start built-in uixt MCP server 2025-05-20 22:36:46 +08:00
lilong.129
e94dacb5b2 refactor: move mcphost package to top level 2025-05-17 11:55:26 +08:00
lilong.129
a4cff1c98a feat: chat with mcp tools 2025-05-16 23:05:40 +08:00
lilong.129
e333ba380a refactor: move mcp to pkg/mcphost 2025-05-16 14:14:56 +08:00
lilong.129
c71ac5c3cd feat: set step loops with expression variable 2025-05-14 15:01:10 +08:00
lilong.129
3b3807770d change: update docstring 2025-05-12 21:35:49 +08:00
lilong.129
4d48a418f9 change: parse mobile device config 2025-05-12 19:16:01 +08:00
lilong.129
0b1a92d8dd refactor: NewCaseRunner 2025-05-12 15:25:32 +08:00
lilong.129
4dfeffc32b refactor: RegisterUIXTDrivers 2025-05-12 09:18:05 +08:00
徐聪
0bd621ad3c fix: XTDriver 2025-05-07 20:21:56 +08:00
徐聪
6cce5e3c5b fix: web ui test 2025-05-07 20:12:06 +08:00
lilong.129
0e9389c796 refactor: NewXTDriver api, return error if init failed 2025-04-30 14:31:36 +08:00
lilong.129
4d7dc466f3 feat: set LLMService/CVService for case runner 2025-04-28 19:45:07 +08:00
lilong.129
d2976844fc fix: load testcase panic caused by config options 2025-04-27 11:50:50 +08:00
lilong.129
b9db874f38 refactor: move tests 2025-03-05 11:47:08 +08:00
lilong.129
e107389d6e refactor: move uixt pkg 2025-03-05 11:04:02 +08:00
lilong.129
7b052f0d98 fix: setup device and driver 2025-02-18 18:04:18 +08:00
lilong.129
72f7b77bc8 refactor: XTDriver 2025-02-11 15:34:51 +08:00
lilong.129
b35116fdf7 change: remove unused methods 2025-02-11 15:01:15 +08:00
lilong.129
c097461987 refactor: XTDriver 2025-02-11 11:48:36 +08:00
lilong.129
2d6e1fb5e4 refactor: Device struct 2025-02-10 20:45:28 +08:00
lilong.129
3038fb7430 fix: errors 2025-02-09 10:51:03 +08:00
lilong.129
ae5a137353 refactor: api 2025-02-07 15:16:13 +08:00
lilong.129
1f063dd6f7 refactor: move hrp/ to root folder 2025-02-06 11:03:41 +08:00