feat: add step start time in step result

This commit is contained in:
lilong.129
2023-06-01 16:12:28 +08:00
parent d5554b38ac
commit f4a9be3c88
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -564,8 +564,10 @@ func (r *SessionRunner) Start(givenVars map[string]interface{}) error {
}
// run step
stepStartTime := time.Now().Unix()
stepResult, err = step.Run(r)
stepResult.Name = stepName + loopIndex
stepResult.Time = stepStartTime
r.updateSummary(stepResult)
}