mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-05 23:51:25 +08:00
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 {
|
if ma.Method == uixt.ACTION_SwipeToTapTexts && actionOptions.MaxRetryTimes == 0 {
|
||||||
ma.ActionOptions.MaxRetryTimes = 10
|
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
|
mobileStep.Actions[i] = ma
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user