mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-06 07:57:27 +08:00
Merge branch 'dev-v4.3' of https://github.com/httprunner/httprunner into dev-v4.3
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user