Commit Graph

4594 Commits

Author SHA1 Message Date
lilong.129
54001363e4 feat: save json case to results directory 2025-06-24 19:46:12 +08:00
lilong.129
5e4b5db64a change: update docs for summary 2025-06-24 17:00:29 +08:00
lilong.129
d0ceeb6c51 refactor: update AI result handling to differentiate content and thought based on result types in report generation 2025-06-24 16:01:50 +08:00
lilong.129
4522bb2dbf fix: examples 2025-06-24 15:36:19 +08:00
lilong.129
b1719344c0 feat: enhance AI result handling with model name and usage statistics for query, action, and assertion types 2025-06-24 15:25:12 +08:00
lilong.129
8fc8d06604 feat: unify AI action handling with detailed execution results and enhanced UI integration 2025-06-24 13:42:08 +08:00
lilong.129
fc32b5d874 feat: enhance AI query handling with detailed result structure and improved UI display 2025-06-24 11:50:37 +08:00
lilong.129
b1b4e5c1dc feat: add toggle functionality for test summary steps with UI enhancements 2025-06-23 22:32:30 +08:00
lilong.129
e6ce61368e fix: enhance step log retrieval with prefix matching for parameterized steps 2025-06-23 21:42:09 +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
93007d5eb7 docs: add summary structure 2025-06-23 15:04:32 +08:00
李隆
d926d908e0 Merge branch 'merge-wings' into 'master'
Merge wings

See merge request iesqa/httprunner!103
2025-06-23 06:34:26 +00:00
lilong.129
58befd6eae refactor: rename buildMCPCallToolRequest to BuildMCPCallToolRequest for consistency across the codebase 2025-06-22 22:54:12 +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
e48bbb2271 change: remove unused code 2025-06-22 13:25:55 +08:00
lilong.129
ea26d7c1c3 Merge branch 'master' into merge-wings 2025-06-22 00:04:29 +08:00
lilong.129
912f82255f feat: implement graceful shutdown for HTTP server with signal handling 2025-06-21 22:14:58 +08:00
lilong.129
a1c8b7fab3 refactor: remove unused handlers and related files to streamline the server codebase 2025-06-21 22:08:54 +08:00
李隆
8edc830ce7 Merge branch 'merge-wings' into 'master'
Merge wings

See merge request iesqa/httprunner!102
2025-06-21 07:44:56 +00:00
lilong.129
c802327e39 change: format 2025-06-21 15:42:04 +08:00
lilong.129
f4b60f4d86 fix: update error handling in runStepMobileUI to store error messages as strings 2025-06-20 19:36:01 +08:00
lilong.129
d2031cb0f2 refactor: add context support to sleep functions for improved cancellation handling 2025-06-20 19:12:27 +08:00
lilong.129
0c9dac95a1 feat: enhance report generation by integrating session data and improving AI query display 2025-06-20 17:38:36 +08:00
lilong.129
ed5d3127cb fix: add missing action options 2025-06-19 21:57:26 +08:00
lilong.129
9e589dec16 feat: add initialization of nil fields in summary data to prevent template execution errors 2025-06-19 14:46:56 +08:00
李隆
54b17de98f Merge branch 'merge-wings' into 'master'
Html report 中新增展示 AI Query 和 AI Assert 的完整内容

See merge request iesqa/httprunner!101
2025-06-19 02:56:24 +00: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
d7ea86e23d refactor: simplify log entry filtering in report generation by removing redundant time handling and enhancing step boundary checks 2025-06-19 10:40:01 +08:00
lilong.129
e3432a192d refactor: improve validation process by adding variable substitution and enhancing error handling 2025-06-18 23:14:43 +08:00
lilong.129
e40db65287 feat: enhance report generation with new AI query and validation display features 2025-06-18 22:35:19 +08:00
lilong.129
a3f2ff37bc refactor: replace hardcoded log messages with constants for better maintainability 2025-06-18 17:17:29 +08:00
lilong.129
1f3366453e feat: implement structured response parsing with enhanced error recovery and UTF-8 sanitization 2025-06-18 16:59:35 +08:00
lilong.129
6965cf9fe9 refactor: enhance screenshot functionality with session saving and optional CV processing 2025-06-18 16:13:45 +08:00
lilong.129
780870ffd9 feat: enhance log processing with improved time handling and sorting 2025-06-18 13:52:21 +08:00
lilong.129
a890981e2d fix: update StartTime to use UnixMilli for better precision across step functions 2025-06-18 13:51:44 +08:00
lilong.129
3d2707fa36 feat: add home and back action mappings to planner prompts 2025-06-18 12:01:53 +08:00
lilong.129
64ed72057f fix: update step failed in ParseStep 2025-06-18 11:31:28 +08:00
lilong.129
d20504f41f fix: add default context for UIXTConfig 2025-06-17 19:46:45 +08:00
李隆
d748acc682 Merge 'merge-wings' into 'master'
fix: create results dir

See merge request: !100
2025-06-17 11:41:12 +00:00
lilong.129
f21745c29d fix: create results dir 2025-06-17 14:09:49 +08:00
lilong.129
a78ba90d33 refactor: config results path 2025-06-15 23:31:36 +08:00
李隆
c62913ba1a Merge branch 'mcp-plugin' into 'master'
AI features & MCP Tools

See merge request iesqa/httprunner!88
2025-06-15 12:19:25 +00:00
lilong.129
4050fc3ffc change: update example llk 2025-06-15 00:47:20 +08:00
lilong.129
69b4b92904 feat: NewUIXTRunner 2025-06-15 00:42:03 +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
409cd693f0 refactor: GetScreenshotBase64WithSize 2025-06-13 12:01:21 +08:00
lilong.129
f6e7e970f8 feat: 实现 AIQuery 功能并支持 OutputSchema
- 新增 AIQuery 方法到 StepMobile,支持使用自然语言从屏幕中提取信息
- 实现 AIQuery 在 driver_ext_ai.go 中的完整功能,包括屏幕截图和 LLM 查询
- 添加 OutputSchema 支持,允许用户定义自定义输出格式进行结构化查询
- 新增 ToolAIQuery MCP 工具,完整集成到 MCP 服务器中
- 在 ActionOptions 中添加 OutputSchema 字段和 WithOutputSchema 选项函数
- 添加 ACTION_Query 的配置支持和字段映射
- 完善测试覆盖:
  * 添加 TestAIQuery 单元测试,包含多种 OutputSchema 使用场景
  * 添加 TestToolAIQuery MCP 工具测试
  * 定义 GameInfo、UIElementInfo 等结构体用于测试
- 更新文档:
  * 在 docs/uixt/ai.md 中添加完整的 AIQuery 使用指南
  * 包含基本用法、OutputSchema 示例、最佳实践等
- 支持复杂的嵌套结构体和数组类型的 OutputSchema
- 与现有 AIAction、AIAssert 功能保持一致的 API 设计
2025-06-13 10:27:08 +08:00
lilong.129
fb0418fa95 feat: add LianLianKan (连连看) game bot implementation
- Add complete LianLianKan game bot with AI-powered interface analysis
- Implement static analysis solver with 0-2 turn connection algorithms
- Support cross-platform game automation (Android, iOS, HarmonyOS, Browser)
- Include comprehensive test suite with real game data
- Add command line tool and documentation
- Integrate with HttpRunner @/uixt module and Doubao AI models
2025-06-12 17:51:23 +08:00
lilong.129
72df285fed fix: get resultsPath 2025-06-12 14:51:15 +08:00