change: remove unused step identifier

This commit is contained in:
lilong.129
2025-07-03 19:29:46 +08:00
parent 7393f7aab3
commit 9d73af4f62
2 changed files with 0 additions and 19 deletions
-18
View File
@@ -755,24 +755,6 @@ func runStepMobileUI(s *SessionRunner, step IStep) (stepResult *StepResult, err
return stepResult, err
}
identifier := mobileStep.Identifier
if mobileStep.Options != nil && identifier == "" {
identifier = mobileStep.Options.Identifier
}
if len(mobileStep.Actions) != 0 && identifier == "" {
for _, action := range mobileStep.Actions {
if action.Identifier != "" {
identifier = action.Identifier
break
}
if action.Options != nil && action.Options.Identifier != "" {
identifier = action.Options.Identifier
break
}
}
}
stepResult.Identifier = identifier
defer func() {
attachments := uixt.Attachments{}
if err != nil {