mirror of
https://github.com/httprunner/httprunner.git
synced 2026-07-12 16:01:27 +08:00
refactor: move driver/capatibilities options to pkg/uixt/options
This commit is contained in:
@@ -4,6 +4,8 @@ import (
|
||||
"fmt"
|
||||
"os"
|
||||
"testing"
|
||||
|
||||
"github.com/httprunner/httprunner/v5/pkg/uixt/options"
|
||||
)
|
||||
|
||||
var androidStubDriver *stubAndroidDriver
|
||||
@@ -12,7 +14,7 @@ func setupStubDriver(t *testing.T) {
|
||||
device, err := NewAndroidDevice()
|
||||
checkErr(t, err)
|
||||
device.STUB = true
|
||||
androidStubDriver, err = device.NewStubDriver(Capabilities{})
|
||||
androidStubDriver, err = device.NewStubDriver(options.Capabilities{})
|
||||
checkErr(t, err)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user