refactor: move android options to pkg/uixt/options

This commit is contained in:
lilong.129
2025-02-06 15:34:36 +08:00
parent 14c81ea142
commit 8a78ba6477
14 changed files with 124 additions and 98 deletions

View File

@@ -18,9 +18,9 @@ func TestAndroidExpertTest(t *testing.T) {
"app_name": "抖音",
}).
SetAndroid(
uixt.WithSerialNumber("$device"),
uixt.WithAdbLogOn(true),
uixt.WithUIA2(true),
options.WithSerialNumber("$device"),
options.WithAdbLogOn(true),
options.WithUIA2(true),
),
TestSteps: []hrp.IStep{
// 温启动