refactor: merge ios and android style

This commit is contained in:
debugtalk
2022-10-12 21:07:57 +08:00
parent 6b2b662bb1
commit c22b38f76f
11 changed files with 212 additions and 781 deletions

View File

@@ -6,8 +6,8 @@
},
"ios": [
{
"port": 8100,
"mjpeg_port": 9100,
"port": 8700,
"mjpeg_port": 8800,
"log_on": true
}
]

View File

@@ -3,8 +3,8 @@ config:
variables:
app_name: 抖音
ios:
- port: 8100
mjpeg_port: 9100
- port: 8700
mjpeg_port: 8800
log_on: true
teststeps:
- name: 启动抖音

View File

@@ -16,8 +16,8 @@ func TestIOSDouyinFollowLive(t *testing.T) {
}).
SetIOS(
hrp.WithLogOn(true),
hrp.WithWDAPort(8100),
hrp.WithWDAMjpegPort(9100),
hrp.WithWDAPort(8700),
hrp.WithWDAMjpegPort(8800),
),
TestSteps: []hrp.IStep{
hrp.NewStep("启动抖音").