Commit Graph

4623 Commits

Author SHA1 Message Date
lilong.129
1923996f65 fix: clean up Appium settings initialization 2025-06-26 17:30:00 +08:00
lilong.129
98dc80cca5 merge master 2025-06-26 14:57:56 +08:00
李隆
c1adca73a2 Merge branch 'session_refactor' into 'master'
feat: 重构session和wda,去掉session概念。session_driver改为纯http调用工具

See merge request iesqa/httprunner!106
2025-06-26 06:56:55 +00:00
lilong.129
1b48763e57 refactor: clean up function signatures in DriverSession and WDADriver for improved readability 2025-06-26 14:43:39 +08:00
lilong.129
3e4858db44 refactor: update URL handling in DriverSession and WDADriver, removing base URL dependency for HTTP requests 2025-06-26 14:37:41 +08:00
lilong.129
88d255bce1 refactor: remove GET/POST methods with base URL, streamline HTTP requests in UIA2 and WDA drivers 2025-06-26 14:18:11 +08:00
lilong.129
51e106c9ad fix: improve JSON parsing in ForegroundInfo by cleaning packageInfo 2025-06-26 13:48:42 +08:00
lilong.129
90ce090e35 fix: remove redundant message cleaning logic in callModelWithLogging
The previous message cleaning logic was flawed:
- cleanedMsg.Content was already set to message.Content
- The condition checked if message.Content == "" then set cleanedMsg.Content = ""
- This was redundant since cleanedMsg.Content would already be empty

The real fix for the API 400 error is in planner.go where we ensure Tool messages
have non-empty content. The utils.go changes were unnecessary.
2025-06-26 13:41:39 +08:00
余泓铮
2cffdf01b1 fix: 解决单侧语法错误问题 2025-06-26 11:07:01 +08:00
余泓铮
552aa516b9 fix: 解决ui2不兼容的问题 2025-06-26 11:04:09 +08:00
lilong.129
e070801b00 fix: resolve doubao-seed-1.6-250615 model API 400 error with empty content
- Fix Tool message content issue when model returns empty content in function calling
- Add content validation in callModelWithLogging to handle empty content in messages
- Ensure compatibility between UI-TARS and function calling models

This resolves the "missing messages.content parameter" error when using 
doubao-seed-1.6-250615 model compared to doubao-1.5-ui-tars-250328
2025-06-26 10:57:27 +08:00
余泓铮
a31a8c67f0 feat: 优化代码结构 2025-06-26 00:46:07 +08:00
余泓铮
22d4f12114 feat: 重构session和wda,去掉session概念。session_driver改为纯http调用工具 2025-06-26 00:39:09 +08:00
lilong.129
191235e3f2 add examples 2025-06-25 20:17:27 +08:00
lilong.129
b3eb1a7f8a change: GenHTMLReport will also SetSaveTests 2025-06-25 17:28:51 +08:00
lilong.129
9b9875dc2c feat: enhance HTML report with modals for summary JSON and log content, and improve download functionality 2025-06-25 15:30:32 +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
李隆
f1f099cc48 Merge branch 'dev' into 'master'
新增测试步骤级别的参数化驱动能力

See merge request iesqa/httprunner!105
2025-06-25 04:09:48 +00:00
lilong.129
0491299245 merge master 2025-06-25 12:07:38 +08:00
李隆
791aa81bb7 Merge branch 'fix/xucong.053/web-option' into 'master'
fix: failed to exec web script

See merge request iesqa/httprunner!104
2025-06-25 04:06:19 +00: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
徐聪
470bde97d7 fix: failed to return err 2025-06-25 11:13:56 +08:00
徐聪
4f605d5558 fix: add actions to web driver 2025-06-24 23:17:05 +08:00
lilong.129
53fad4edc5 refactor: streamline AI assertion result handling by consolidating error management and improving result structure 2025-06-24 23:10:46 +08:00
徐聪
230f9bfd14 fix: delete useless codes 2025-06-24 23:07:44 +08:00
徐聪
ea6b0a6902 fix: failed to exec web script 2025-06-24 23:02:35 +08:00
lilong.129
72a0915b04 fix: adb double tap 2025-06-24 22:54:26 +08:00
lilong.129
43d990f863 fix: ensure extracted thought is not empty before displaying in report 2025-06-24 22:22:34 +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
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