Commit Graph

4641 Commits

Author SHA1 Message Date
余泓铮
4ce0178cfd fix: 修改active app info接口 2025-06-29 00:20:51 +08:00
lilong.129
8ef9b86fd1 change: update docs 2025-06-28 22:03:22 +08:00
lilong.129
ed0b915904 change: update install script 2025-06-28 21:32:12 +08:00
lilong.129
c6fe69d135 update docs 2025-06-28 21:00:48 +08:00
lilong.129
a71acffa5b fix: enhance URL building logic in DriverSession with additional test cases 2025-06-28 20:25:28 +08:00
李隆
43c82f1ec0 Merge 'bugfix-fix' into 'master'
Bugfix:check UIA2 Server running before starting to avoid conflicting

See merge request: !108
2025-06-28 05:41:01 +00:00
lilong.129
00ad81aa56 feat: add version info 2025-06-28 13:36:50 +08:00
lilong.129
99cde5a220 fix: update Makefile to specify Go toolchain version and adjust pre-commit hook installation 2025-06-28 12:22:51 +08:00
lilong.129
3424844815 fix: improve package running check and enhance logging in UIA2Driver 2025-06-28 10:17:09 +08:00
李隆
e8f7516422 Merge branch 'dev' into 'master'
release v5.0.0

See merge request iesqa/httprunner!107
2025-06-27 04:15:15 +00:00
lilong.129
29c5c4df84 feat: add auto popup handler configuration for HRPRunner 2025-06-27 12:13:13 +08:00
lilong.129
6c685acbf6 update version 2025-06-27 11:56:27 +08:00
lilong.129
ba43e9fd0e refactor: enhance JSON handling and improve request retry logic in DriverSession 2025-06-27 11:52:53 +08:00
lilong.129
7737705ab9 bump version to v5.0.0 2025-06-26 20:14:50 +08:00
lilong.129
b188d6b29b feat: add device status logging and extend DeviceStatus struct with new fields 2025-06-26 20:09:13 +08:00
lilong.129
eb0d184d6d change: set WDA default port to 8700/8800 2025-06-26 19:42:01 +08:00
lilong.129
a6d6b5bad2 change: update tests 2025-06-26 19:39:54 +08:00
lilong.129
32d2f7d27d fix: update input interaction endpoint in WDADriver to use new URL 2025-06-26 19:06:59 +08:00
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