Commit Graph

4664 Commits

Author SHA1 Message Date
lilong.129
ae0d28c26d feat: add action timeout for StartToGoal 2025-06-30 13:55:17 +08:00
lilong.129
f332f4e304 fix: ToolSleepMS tool call 2025-06-30 13:36:44 +08:00
lilong.129
16bb91a098 feat: add action timeout for StartToGoal 2025-06-30 13:26:11 +08:00
lilong.129
0b6e764c9f refactor: enhance context cancellation handling in mobile UI and driver extensions 2025-06-30 13:04:00 +08:00
lilong.129
e5823bba0e fix: cancel UI action when case timeout 2025-06-30 12:07:16 +08:00
lilong.129
224f3af558 example: add yanglegeyang 2025-06-30 12:05:26 +08:00
李隆
6e201dbe00 Merge branch 'dev' into 'master'
优化 html report 截图展示,支持展示标注截图

See merge request iesqa/httprunner!110
2025-06-29 16:23:19 +00:00
lilong.129
ab40a8c63f refactor: ForegroundInfo 2025-06-30 00:14:54 +08:00
lilong.129
c82d1cbecc Merge branch 'master' into dev 2025-06-29 23:44:51 +08:00
lilong.129
7527726dc8 Merge remote-tracking branch 'gitlab/master' 2025-06-29 23:44:27 +08:00
李隆
f3eefcb4fd Merge 'session_refactor' into 'master'
Session refactor

See merge request: !109
2025-06-29 15:01:04 +00:00
lilong.129
850bd61dde fix: improve error handling in cache.go by replacing fmt.Errorf with errors.Wrap for better context 2025-06-29 22:41:03 +08:00
lilong.129
7aa4ad652c fix: wait 3 seconds for tool calls to complete 2025-06-29 21:42:07 +08:00
lilong.129
fcc6d266d4 style: update screenshot dimensions in HTML template for improved layout 2025-06-29 21:30:40 +08:00
lilong.129
a040b53ea9 refactor: enhance screenshot handling by introducing base64 encoding and updating related methods 2025-06-29 20:38:33 +08:00
lilong.129
0ae22930aa feat: add horizontal scrolling screenshot display and improve screenshot handling in report generation 2025-06-29 18:16:26 +08:00
lilong.129
5baabee89c fix: update invokeToolCall to accept options and refactor action type handling in MarkUIOperation 2025-06-29 15:59:48 +08:00
余泓铮
2db2f7ca1d feat: 升级前台应用获取sdk 2025-06-29 15:24:13 +08:00
余泓铮
7b8b3c020a fix: 优化获取前台应用 2025-06-29 15:22:20 +08:00
余泓铮
c3a5179f4a feat: 新增根据ui2点击 2025-06-29 15:08:30 +08:00
余泓铮
5ac641999e fix: download path不再使用时间戳 2025-06-29 14:44:15 +08:00
余泓铮
a476e47609 fix: install error 2025-06-29 14:41:26 +08:00
余泓铮
4ce0178cfd fix: 修改active app info接口 2025-06-29 00:20:51 +08:00
lilong.129
9794852c1a chore: update Go version in CI workflow to 1.23.x 2025-06-28 22:10:37 +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