fix: override action error

This commit is contained in:
lilong.129
2023-08-22 16:55:22 +08:00
parent cc3aedb810
commit c0dc539837
2 changed files with 16 additions and 8 deletions
+2 -2
View File
@@ -604,8 +604,8 @@ func runStepMobileUI(s *SessionRunner, step *TStep) (stepResult *StepResult, err
}
// automatic handling of pop-up windows on each step finished
if err = uiDriver.AutoPopupHandler(); err != nil {
log.Error().Err(err).Str("step", step.Name).Msg("auto handle popup failed")
if err2 := uiDriver.AutoPopupHandler(); err2 != nil {
log.Error().Err(err2).Str("step", step.Name).Msg("auto handle popup failed")
}
// save attachments