Skip to content

Commit 60f4960

Browse files
gololdf1shclaude
andcommitted
fix(plugin): use step.title in retryFailedStep for worker compatibility
Replace step.name with step.title — after the Step.name → Step.title rename (#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>
1 parent 6ec6690 commit 60f4960

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

lib/plugin/retryFailedStep.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,11 +111,12 @@ export default function (config) {
111111
}
112112

113113
event.dispatcher.on(event.step.started, step => {
114+
if (!step.title) return
114115
for (const ignored of config.ignoredSteps) {
115-
if (step.name === ignored) return
116+
if (step.title === ignored) return
116117
if (ignored instanceof RegExp) {
117-
if (step.name.match(ignored)) return
118-
} else if (ignored.indexOf('*') && step.name.startsWith(ignored.slice(0, -1))) return
118+
if (step.title.match(ignored)) return
119+
} else if (ignored.indexOf('*') && step.title.startsWith(ignored.slice(0, -1))) return
119120
}
120121
enableRetry = true
121122
})

0 commit comments

Comments
 (0)