fix: unittext

This commit is contained in:
xucong.053
2022-10-11 15:55:20 +08:00
parent cd0ab6dfdb
commit ba00e9590b
5 changed files with 14 additions and 6 deletions

View File

@@ -324,7 +324,7 @@ func (s *StepAndroid) SwipeToTapText(text string, options ...uixt.ActionOption)
return &StepAndroid{step: s.step}
}
func (s *StepAndroid) SwipeToTapFromTexts(texts []string, options ...uixt.ActionOption) *StepAndroid {
func (s *StepAndroid) SwipeToTapTexts(texts []string, options ...uixt.ActionOption) *StepAndroid {
action := uixt.MobileAction{
Method: uixt.ACTION_SwipeToTapText,
Params: texts,