Commit Graph

3354 Commits

Author SHA1 Message Date
lilong.129
36d9802adb fix: MobileUIAppNotInForegroundError exit code 2023-04-16 12:33:13 +08:00
debugtalk
04621c600f 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
87c35100d5 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
6bf5a87c20 Merge branch 'master' into dependabot/go_modules/golang.org/x/text-0.3.8 2023-04-15 00:21:17 +08:00
debugtalk
52016e1606 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
d28a624368 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
1c10978fac fix: screencap compatibility for shell v1 and v2 2023-04-14 23:57:20 +08:00
lilong.129
2d7634f6b0 fix: checkout ocr response status code 2023-04-14 21:50:24 +08:00
lilong.129
f5935f0ffd fix: support gif image 2023-04-14 21:37:35 +08:00
lilong.129
bae5380f80 fix: ScreenCap call RunShellCommandWithBytes 2023-04-14 21:10:43 +08:00
lilong.129
7ef29fef60 fix: adb logcat clear argument 2023-04-14 20:28:04 +08:00
lilong.129
29a7ad3c46 Merge branch 'master' into fix-android-screencap 2023-04-14 19:11:06 +08:00
debugtalk
abdafa7dc4 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
12fdf489d7 bump version to v4.3.3.2023041419 2023-04-14 19:02:34 +08:00
lilong.129
2ce6ce371b feat: check if app is in foreground when step failed 2023-04-14 18:57:36 +08:00
lilong.129
75997b1178 change: print ocr service logID when success 2023-04-14 18:03:13 +08:00
lilong.129
faf126f046 feat: add IsAppInForeground to check if the given package is in fore ground 2023-04-14 17:43:27 +08:00
lilong.129
b5cb8c6ffe feat: add adb screencap sub command 2023-04-14 16:35:10 +08:00
lilong.129
4803d7fbf9 refactor: get attached android/ios devices 2023-04-14 15:55:54 +08:00
lilong.129
632f821713 change: take screenshot after each step 2023-04-14 13:29:22 +08:00
lilong.129
b0b41b8804 change: remove debug log 2023-04-13 23:12:43 +08:00
lilong.129
639ae3e4f2 faet: add ScreenCap for gadb 2023-04-13 22:48:40 +08:00
lilong.129
e35a11a25f refactor: replace gadb with optimized version authoried by @appl3s 2023-04-13 22:41:45 +08:00
debugtalk
d552a14101 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
9ad8410e9b change: bump version to 4.3.3 2023-04-11 22:22:36 +08:00
lilong.129
5458dc27c8 feat: SleepRandom add weight argument to specify the probability of the time range 2023-04-11 22:03:14 +08:00
dependabot[bot]
14f5fce415 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]
0876008078 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
623ba2a522 update 2023-02-20 20:48:47 +08:00
lilong.129
30db4000ca change: update sponsor info 2023-02-16 23:04:36 +08:00
lilong.129
8d3d916004 fix: sleep random arguments adapt to int and float 2023-02-14 00:06:19 +08:00
lilong.129
4b7bd380be fix: do not fail case when kill logcat error 2023-02-13 23:37:54 +08:00
lilong.129
bf6032520d fix: stop logcat only when enabled 2023-02-13 23:34:09 +08:00
debugtalk
c4144caf50 Merge pull request #1559 from httprunner/random
sleep in random seconds
2023-02-13 22:36:54 +08:00
debugtalk
8f45cc2708 change: add test for sleep random 2023-02-13 22:35:34 +08:00
debugtalk
dfa586abbd feat: add random builtin functions 2023-02-13 22:26:49 +08:00
debugtalk
8065703fa7 feat: sleep random seconds 2023-02-13 22:22:49 +08:00
debugtalk
cca4bd7ae3 change: update logcat args 2023-02-13 21:47:53 +08:00
debugtalk
515623ea8b Merge pull request #1552 from bbx-winner/fix-adb
fix: err wrap and TapFloat

- 修复测试用例跑不通过 failfast 时,shell 退出码始终为 1 的问题
- 修复 adb 驱动,TapFloat 方法 options 未使用的问题
2023-01-30 10:54:12 +08:00
buyuxiang
8beb88bd5c fix: err wrap and TapFloat 2023-01-19 08:59:17 +08:00
debugtalk
223537b4f3 Merge pull request #1541 from httprunner/gadb
feat: run Android UI automation with adb by default, add `uixt.WithUIA2(true)` option to use uiautomator2
2022-12-26 23:43:08 +08:00
debugtalk
50f2e7b672 feat: input text with adb 2022-12-26 22:15:40 +08:00
debugtalk
daa90755b0 feat: run Android UI automation with adb by default, add uixt.WithUIA2(true) option to use uiautomator2 2022-12-26 21:57:47 +08:00
debugtalk
3dd09e5539 fix: specify uia2 ip and port 2022-12-26 20:22:59 +08:00
debugtalk
a7180a2b8c fix: ignore failure when create UIAutomator session 2022-12-26 18:49:36 +08:00
debugtalk
651cbfa17e feat: run UI automation with adb for Android 2022-12-26 18:07:15 +08:00
debugtalk
9b081bff8b change: replace gadb log 2022-12-26 16:49:43 +08:00
debugtalk
869a1b59c3 Merge pull request #1540 from httprunner/convert
simplify
2022-12-26 11:32:44 +08:00
debugtalk
57afeadc26 fix: unittest 2022-12-26 11:20:32 +08:00
debugtalk
9ff44d0bad change: remove unused UI APIs 2022-12-26 00:15:43 +08:00