Merge branch 'dev-v4.3' of https://github.com/httprunner/httprunner into dev-v4.3

This commit is contained in:
debugtalk
2022-10-10 15:43:06 +08:00
3 changed files with 32 additions and 0 deletions
+9
View File
@@ -525,6 +525,15 @@ func runStepIOS(s *SessionRunner, step *TStep) (stepResult *StepResult, err erro
}
parser := s.GetParser()
// parse device udid
if step.IOS.IOSDevice.UDID != "" {
udid, err := parser.ParseString(step.IOS.IOSDevice.UDID, stepVariables)
if err != nil {
return stepResult, err
}
step.IOS.IOSDevice.UDID = udid.(string)
}
// init wdaClient driver
wdaClient, err := s.hrpRunner.initUIClient(&step.IOS.IOSDevice)
if err != nil {