refactor: move driver/capatibilities options to pkg/uixt/options

This commit is contained in:
lilong.129
2025-02-06 16:01:48 +08:00
parent 3c9c1dddd9
commit f1ef161377
18 changed files with 210 additions and 199 deletions

View File

@@ -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)
}