mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-06 07:57:27 +08:00
fix: load testcase panic caused by config options
This commit is contained in:
@@ -15,7 +15,8 @@ func TestAndroidDouyinFeedTest(t *testing.T) {
|
||||
WithVariables(map[string]interface{}{
|
||||
"device": "${ENV(SerialNumber)}",
|
||||
}).
|
||||
SetAndroid(option.WithSerialNumber("$device")),
|
||||
SetAndroid(option.WithSerialNumber("$device"),
|
||||
option.WithAdbLogOn(true)),
|
||||
TestSteps: []hrp.IStep{
|
||||
hrp.NewStep("启动抖音").
|
||||
Android().
|
||||
|
||||
Reference in New Issue
Block a user