diff --git a/hrp/internal/version/VERSION b/hrp/internal/version/VERSION index 0d9f6f29..0a205146 100644 --- a/hrp/internal/version/VERSION +++ b/hrp/internal/version/VERSION @@ -1 +1 @@ -v5.0.0+2412241212 +v5.0.0+2412241547 diff --git a/hrp/step_mobile_ui.go b/hrp/step_mobile_ui.go index c952e9f3..7303c8c7 100644 --- a/hrp/step_mobile_ui.go +++ b/hrp/step_mobile_ui.go @@ -718,21 +718,8 @@ func runStepMobileUI(s *SessionRunner, step IStep) (stepResult *StepResult, err stepResult.Elapsed = time.Since(start).Milliseconds() }() - // prepare actions - var actions []uixt.MobileAction - if mobileStep.Actions == nil { - actions = []uixt.MobileAction{ - { - Method: mobileStep.Method, - Params: mobileStep.Params, - }, - } - } else { - actions = mobileStep.Actions - } - // run actions - for _, action := range actions { + for _, action := range mobileStep.Actions { select { case <-s.caseRunner.hrpRunner.caseTimeoutTimer.C: log.Warn().Msg("timeout in mobile UI runner")