mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-06 16:07:45 +08:00
Merge branch 'bugfix/huangbin/option_interval' into 'master'
fix: interval option for swipe to tap text See merge request iesqa/httprunner!150
This commit is contained in:
@@ -100,8 +100,7 @@ func (dExt *XTDriver) SwipeToTapTexts(texts []string, opts ...option.ActionOptio
|
|||||||
}
|
}
|
||||||
|
|
||||||
log.Info().Strs("texts", texts).Msg("swipe to tap texts")
|
log.Info().Strs("texts", texts).Msg("swipe to tap texts")
|
||||||
opts = append(opts, option.WithMatchOne(true), option.WithRegex(true), option.WithInterval(1))
|
opts = append([]option.ActionOption{option.WithMatchOne(true), option.WithRegex(true), option.WithInterval(1)}, opts...)
|
||||||
|
|
||||||
// Remove identifier for swipe operations to avoid WDA/UIA2 logging
|
// Remove identifier for swipe operations to avoid WDA/UIA2 logging
|
||||||
actionOptions := option.NewActionOptions(opts...)
|
actionOptions := option.NewActionOptions(opts...)
|
||||||
actionOptions.Identifier = ""
|
actionOptions.Identifier = ""
|
||||||
|
|||||||
Reference in New Issue
Block a user