mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-22 17:00:17 +08:00
feat: run Android UI automation with adb by default, add uixt.WithUIA2(true) option to use uiautomator2
This commit is contained in:
@@ -12,7 +12,7 @@ import (
|
||||
func TestAndroidDouYinLive(t *testing.T) {
|
||||
testCase := &hrp.TestCase{
|
||||
Config: hrp.NewConfig("通过 feed 头像进入抖音直播间").
|
||||
SetAndroid(uixt.WithAdbLogOn(true)),
|
||||
SetAndroid(uixt.WithUIA2(false), uixt.WithAdbLogOn(true)),
|
||||
TestSteps: []hrp.IStep{
|
||||
hrp.NewStep("启动抖音").
|
||||
Android().
|
||||
|
||||
Reference in New Issue
Block a user