feat: init device with optional serial, port, mjpeg port

This commit is contained in:
debugtalk
2022-08-23 21:06:32 +08:00
parent 175ab65c8d
commit a1a95cff8c
10 changed files with 74 additions and 40 deletions
+2 -1
View File
@@ -70,7 +70,8 @@ func TestIOSAppLaunch(t *testing.T) {
func TestIOSWeixinLive(t *testing.T) {
testCase := &TestCase{
Config: NewConfig("ios ui action on 微信直播"),
Config: NewConfig("ios ui action on 微信直播").
SetIOS(WDADevice{Port: 8700, MjpegPort: 8800}),
TestSteps: []IStep{
NewStep("启动微信").
IOS().