mirror of
https://github.com/httprunner/httprunner.git
synced 2026-08-28 11:36:56 +08:00
feat: get wda logs
This commit is contained in:
@@ -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().
|
||||
|
||||
Reference in New Issue
Block a user