mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-26 01:51:29 +08:00
fix: add 1s interval when swipe to first screen
This commit is contained in:
@@ -163,6 +163,7 @@ func (dExt *XTDriver) SwipeToTapApp(appName string, opts ...option.ActionOption)
|
||||
// swipe to first screen
|
||||
for i := 0; i < 5; i++ {
|
||||
dExt.Swipe(0.5, 0.5, 0.9, 0.5, optionsWithoutIdentifier...)
|
||||
time.Sleep(1 * time.Second)
|
||||
}
|
||||
|
||||
opts = append(opts, option.WithDirection("left"))
|
||||
|
||||
Reference in New Issue
Block a user