change: bump version to v4.3.4

This commit is contained in:
lilong.129
2023-07-18 14:51:14 +08:00
parent e6ce45b821
commit c3a4e18f17
13 changed files with 3 additions and 629 deletions

View File

@@ -1 +1 @@
v4.3.4-beta-2306282100
v4.3.4

View File

@@ -28,7 +28,7 @@ func setupSpringBoardSrv(t *testing.T) {
func Test_springBoard_GetIcon(t *testing.T) {
setupSpringBoardSrv(t)
raw, _ := springBoardSrv.GetIconPNGData("com.tencent.xin")
raw, _ := springBoardSrv.GetIconPNGData("com.ss.iphone.ugc.Aweme")
img, format, err := image.Decode(raw)
if err != nil {
t.Fatal(err)

View File

@@ -212,12 +212,6 @@ func Test_remoteWD_Homescreen(t *testing.T) {
func Test_remoteWD_AppLaunch(t *testing.T) {
setup(t)
// bundleId = "com.hustlzp.xcz"
// bundleId = "com.github.stormbreaker.prod"
// bundleId = "com.360buy.jdmobile"
// bundleId = "com.zhihu.ios"
// bundleId = "com.tencent.xin"
// bundleId = "com.jsmcc.ZP7267A6ES"
err := driver.AppLaunch(bundleId)
// err := driver.AppLaunch(bundleId, NewAppLaunchOption().WithShouldWaitForQuiescence(true))
// err := driver.AppLaunch(bundleId, NewAppLaunchOption().WithArguments([]string{"-AppleLanguages", "(Russian)"}))

View File

@@ -68,36 +68,6 @@ func TestIOSAppLaunch(t *testing.T) {
}
}
func TestIOSWeixinLive(t *testing.T) {
testCase := &TestCase{
Config: NewConfig("ios ui action on 微信直播").
SetIOS(uixt.WithWDALogOn(true), uixt.WithWDAPort(8100), uixt.WithWDAMjpegPort(9100)),
TestSteps: []IStep{
NewStep("启动微信").
IOS().
Home().
AppTerminate("com.tencent.xin"). // 关闭已运行的微信,确保启动微信后在「微信」首页
Tap("微信").
Validate().
AssertLabelExists("通讯录", "微信启动失败,「通讯录」不存在"),
NewStep("进入直播页").
IOS().
Tap("发现").Sleep(5). // 进入「发现页」;等待 5 秒确保加载完成
TapByOCR("直播"). // 通过 OCR 识别「直播」
Validate().
AssertLabelExists("直播"),
NewStep("向上滑动 3 次,截图保存").
Loop(3). // 整体循环 3 次
IOS().
SwipeUp().SwipeUp().ScreenShot(), // 上划 2 次,截图保存
},
}
err := NewRunner(t).Run(testCase)
if err != nil {
t.Fatal(err)
}
}
func TestIOSCameraPhotoCapture(t *testing.T) {
testCase := &TestCase{
Config: NewConfig("ios camera photo capture"),