mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-19 10:29:29 +08:00
fix: update error handling in runStepMobileUI to store error messages as strings
This commit is contained in:
2
step.go
2
step.go
@@ -60,7 +60,7 @@ type ActionResult struct {
|
||||
option.MobileAction `json:",inline"`
|
||||
StartTime int64 `json:"start_time"` // action start time in millisecond(ms)
|
||||
Elapsed int64 `json:"elapsed_ms"` // action elapsed time(ms)
|
||||
Error error `json:"error,omitempty"` // action execution result
|
||||
Error string `json:"error,omitempty"` // action execution result
|
||||
Plannings []*uixt.PlanningExecutionResult `json:"plannings,omitempty"` // store planning results for start_to_goal actions, which contains multiple sub-actions
|
||||
uixt.SessionData // store session data for other actions besides start_to_goal
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user