feat: get wda logs

This commit is contained in:
debugtalk
2022-09-22 21:19:15 +08:00
parent 976e715357
commit 7a94afaf7e
17 changed files with 201 additions and 60 deletions
+2 -2
View File
@@ -50,7 +50,7 @@ func TestIOSSearchApp(t *testing.T) {
func TestIOSAppLaunch(t *testing.T) {
testCase := &TestCase{
Config: NewConfig("启动 & 关闭 App").
SetIOS(WDADevice{Port: 8100, MjpegPort: 9100}),
SetIOS(WithPort(8100), WithMjpegPort(9100)),
TestSteps: []IStep{
NewStep("终止今日头条").
IOS().AppTerminate("com.ss.iphone.article.News"),
@@ -73,7 +73,7 @@ func TestIOSAppLaunch(t *testing.T) {
func TestIOSWeixinLive(t *testing.T) {
testCase := &TestCase{
Config: NewConfig("ios ui action on 微信直播").
SetIOS(WDADevice{Port: 8100, MjpegPort: 9100}),
SetIOS(WithLogOn(true), WithPort(8100), WithMjpegPort(9100)),
TestSteps: []IStep{
NewStep("启动微信").
IOS().