mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-03 06:49:38 +08:00
refactor: move action options to pkg/uixt/options/action
This commit is contained in:
@@ -79,7 +79,8 @@ func TestDoubleTap(t *testing.T) {
|
||||
|
||||
func TestLongPress(t *testing.T) {
|
||||
setupStubDriver(t)
|
||||
err := androidStubDriver.Swipe(1036, 1076, 1036, 1076, WithDuration(3))
|
||||
err := androidStubDriver.Swipe(1036, 1076, 1036, 1076,
|
||||
options.WithDuration(3))
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user