mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-12 02:21:29 +08:00
Merge pull request #1687 from httprunner/mobile-step-compat
set default max_retry_times for swipe_to_tap_text
This commit is contained in:
@@ -376,6 +376,10 @@ func convertCompatMobileStep(mobileStep *MobileStep) {
|
||||
if ma.Method == uixt.ACTION_SwipeToTapTexts && actionOptions.MaxRetryTimes == 0 {
|
||||
ma.ActionOptions.MaxRetryTimes = 10
|
||||
}
|
||||
// set default max_retry_times to 10 for swipe_to_tap_text
|
||||
if ma.Method == uixt.ACTION_SwipeToTapText && actionOptions.MaxRetryTimes == 0 {
|
||||
ma.ActionOptions.MaxRetryTimes = 10
|
||||
}
|
||||
mobileStep.Actions[i] = ma
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user