change: update tests

This commit is contained in:
lilong.129
2025-06-26 19:39:54 +08:00
parent 32d2f7d27d
commit a6d6b5bad2
5 changed files with 51 additions and 43 deletions
+2 -1
View File
@@ -43,7 +43,8 @@ func TestWDALog(t *testing.T) {
SwipeUp(option.WithIdentifier("第 2 次上划")).Sleep(2).
SwipeUp(option.WithIdentifier("第 3 次上划")).Sleep(2).
TapXY(0.9, 0.1, option.WithIdentifier("点击进入搜索框")).Sleep(2).
Input("httprunner", option.WithIdentifier("输入搜索关键词")),
Input("httprunner 发版记录", option.WithIdentifier("输入搜索关键词")).
TapByOCR("搜索", option.WithIdentifier("点击搜索")),
},
}