Closed
gololdf1sh added a commit to gololdf1sh/CodeceptJS that referenced this pull request
May 14, 2026Replace step.name with step.title — after the Step.name → Step.title rename (codeceptjs#5564), step.title is the canonical field on both full Step objects and simplified ones from worker IPC. Closes testomatio/e2e-tests#139 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Step.simplify() was mapping name → title for IPC serialization, creating an inconsistency: full Step objects had .name, serialized ones had .title. This caused plugins like retryFailedStep to crash in run-workers mode when receiving simplified objects without .name. Rename the property to .title everywhere so full and serialized Step objects use the same field name. Add null-guards in plugins for edge cases where step.title is undefined (hook steps). Closes testomatio/e2e-tests#139 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>