mirror of
https://github.com/httprunner/httprunner.git
synced 2026-07-10 23:12:41 +08:00
change: update function optional parameters to DataOptions
This commit is contained in:
@@ -443,7 +443,7 @@ func Test_remoteWD_TouchAndHold(t *testing.T) {
|
||||
func Test_remoteWD_Drag(t *testing.T) {
|
||||
setup(t)
|
||||
|
||||
// err := driver.Drag(200, 300, 200, 500, WithPressDuration(0.5))
|
||||
// err := driver.Drag(200, 300, 200, 500, WithPressDurationOption(0.5))
|
||||
err := driver.Swipe(200, 300, 200, 500)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
|
||||
Reference in New Issue
Block a user