Commit Graph

3370 Commits

Author SHA1 Message Date
lilong.129
38882ea2f3 change: update changelog 2023-04-18 21:08:34 +08:00
lilong.129
53116be354 fix #1549: avoid duplicate creating plugins 2023-04-18 21:04:38 +08:00
lilong.129
7d7784d65a fix #1592: report html display url 2023-04-18 20:42:52 +08:00
debugtalk
1bcf45bd26 Merge pull request #1592 from ywanbing/fix_1468
fix: report html display the value of the url instead of variables
2023-04-18 20:39:17 +08:00
debugtalk
64d5d65364 Merge pull request #1591 from ywanbing/fix_ws_close
fix: fast fail , not closing the websocket connection
2023-04-18 20:34:48 +08:00
debugtalk
c93125520b Merge pull request #1587 from httprunner/fix-android-ui
feat: add validator AssertAppInForeground and AssertAppNotInForeground
feat: save screenshots of all steps including ocr and cv recognition process data
2023-04-18 20:33:12 +08:00
lilong.129
d636f0cd3c fix: change httpbin.org from http to https 2023-04-18 20:20:36 +08:00
lilong.129
b6cf074bb5 fix: copy screenshot buffer for OCR recognizing 2023-04-18 19:59:52 +08:00
lilong.129
865c8c6786 change: update examples 2023-04-18 19:33:15 +08:00
ywb
1547cf2074 fix: report html display the value of the url instead of variables 2023-04-18 17:37:33 +08:00
ywb
4e011d95d1 fix: fast fail , not closing the websocket connection 2023-04-18 16:23:20 +08:00
lilong.129
804e69037a change: GenNameWithTimestamp 2023-04-17 22:45:58 +08:00
lilong.129
a286e0f37f change: update changelog 2023-04-17 14:38:07 +08:00
lilong.129
9e73328448 refactor: TakeScreenShot saves all screenshots 2023-04-16 22:32:47 +08:00
lilong.129
3770ce12bd feat: add validator AssertAppInForeground and AssertAppNotInForeground 2023-04-16 18:54:40 +08:00
lilong.129
a6ec63322a change: update go mod 2023-04-16 18:00:36 +08:00
lilong.129
7a9349ea32 fix: MobileUIAppNotInForegroundError exit code 2023-04-16 12:33:13 +08:00
debugtalk
8a66a777f9 Merge pull request #1530 from httprunner/dependabot/pip/certifi-2022.12.7
build(deps): bump certifi from 2021.10.8 to 2022.12.7
2023-04-15 00:22:50 +08:00
debugtalk
5c46388dd4 Merge pull request #1561 from httprunner/dependabot/go_modules/golang.org/x/text-0.3.8
build(deps): bump golang.org/x/text from 0.3.7 to 0.3.8
2023-04-15 00:21:49 +08:00
debugtalk
336b25e097 Merge branch 'master' into dependabot/go_modules/golang.org/x/text-0.3.8 2023-04-15 00:21:17 +08:00
debugtalk
8151b80420 Merge pull request #1562 from httprunner/dependabot/go_modules/golang.org/x/net-0.7.0
build(deps): bump golang.org/x/net from 0.0.0-20220919232410-f2f64ebce3c1 to 0.7.0
2023-04-15 00:17:57 +08:00
debugtalk
1d63833b5f Merge pull request #1585 from httprunner/fix-android-screencap
refactor android screencap

- feat: add adb `screencap` sub command
- feat: add `IsAppInForeground` to check if the given package is in foreground
- feat: check if app is in foreground when step failed
- fix: take screenshot after each step
- fix: screencap compatibility for shell v1 and v2
2023-04-15 00:12:51 +08:00
lilong.129
524b277308 fix: screencap compatibility for shell v1 and v2 2023-04-14 23:57:20 +08:00
lilong.129
c787b73e99 fix: checkout ocr response status code 2023-04-14 21:50:24 +08:00
lilong.129
8b1aa36a8a fix: support gif image 2023-04-14 21:37:35 +08:00
lilong.129
947653014b fix: ScreenCap call RunShellCommandWithBytes 2023-04-14 21:10:43 +08:00
lilong.129
2d3a4985ed fix: adb logcat clear argument 2023-04-14 20:28:04 +08:00
lilong.129
e7e5837e48 Merge branch 'master' into fix-android-screencap 2023-04-14 19:11:06 +08:00
debugtalk
1ce5eecdf7 Merge pull request #1584 from httprunner/gadb
replace gadb with optimized version authoried by @appl3s
2023-04-14 19:10:29 +08:00
lilong.129
3364ddb25a bump version to v4.3.3.2023041419 2023-04-14 19:02:34 +08:00
lilong.129
069a2997e0 feat: check if app is in foreground when step failed 2023-04-14 18:57:36 +08:00
lilong.129
d277a87d80 change: print ocr service logID when success 2023-04-14 18:03:13 +08:00
lilong.129
dd7724b586 feat: add IsAppInForeground to check if the given package is in fore ground 2023-04-14 17:43:27 +08:00
lilong.129
2ceac61c4c feat: add adb screencap sub command 2023-04-14 16:35:10 +08:00
lilong.129
c97b84dd39 refactor: get attached android/ios devices 2023-04-14 15:55:54 +08:00
lilong.129
f77b454cf2 change: take screenshot after each step 2023-04-14 13:29:22 +08:00
lilong.129
ba5222a30a change: remove debug log 2023-04-13 23:12:43 +08:00
lilong.129
ef784709af faet: add ScreenCap for gadb 2023-04-13 22:48:40 +08:00
lilong.129
3d4dffbd0b refactor: replace gadb with optimized version authoried by @appl3s 2023-04-13 22:41:45 +08:00
debugtalk
6600473855 Merge pull request #1582 from httprunner/random_swipe
feat: random swipe with weight for multiple time ranges
2023-04-12 10:25:07 +08:00
lilong.129
dc720d38ea change: bump version to 4.3.3 2023-04-11 22:22:36 +08:00
lilong.129
eacdf466cc feat: SleepRandom add weight argument to specify the probability of the time range 2023-04-11 22:03:14 +08:00
dependabot[bot]
830da0a72a build(deps): bump golang.org/x/net
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.0.0-20220919232410-f2f64ebce3c1 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/commits/v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-25 02:16:15 +00:00
dependabot[bot]
f7b6b4217c build(deps): bump golang.org/x/text from 0.3.7 to 0.3.8
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.3.7 to 0.3.8.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.3.7...v0.3.8)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-23 09:02:32 +00:00
lilong.129
c27981e6b0 update 2023-02-20 20:48:47 +08:00
lilong.129
a093f068db change: update sponsor info 2023-02-16 23:04:36 +08:00
lilong.129
b723082be4 fix: sleep random arguments adapt to int and float 2023-02-14 00:06:19 +08:00
lilong.129
906edecd8e fix: do not fail case when kill logcat error 2023-02-13 23:37:54 +08:00
lilong.129
4db263db15 fix: stop logcat only when enabled 2023-02-13 23:34:09 +08:00
debugtalk
cdee2babd7 Merge pull request #1559 from httprunner/random
sleep in random seconds
2023-02-13 22:36:54 +08:00