Commit 63ea914
fix(step): preserve step.name in simplify() for worker IPC
step.simplify() maps name → title, dropping name from the serialized
object. Plugins listening to step events in the master process (e.g.
retryFailedStep) crash on step.name being undefined.
Add name to simplify() output alongside title (kept for BC).
Add null-guard in retryFailedStep for edge cases where step.name is
undefined on the full Step object (hook steps).
Closes testomatio/e2e-tests#139
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent 6ec6690 commit 63ea914
2 files changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| 114 | + | |
114 | 115 | | |
115 | 116 | | |
116 | 117 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
| 226 | + | |
226 | 227 | | |
227 | 228 | | |
228 | 229 | | |
| |||
0 commit comments