diff --git a/lib/plugin/retryFailedStep.js b/lib/plugin/retryFailedStep.js index caa902891..3d696b4cf 100644 --- a/lib/plugin/retryFailedStep.js +++ b/lib/plugin/retryFailedStep.js @@ -111,11 +111,12 @@ export default function (config) { } event.dispatcher.on(event.step.started, step => { + if (!step.title) return for (const ignored of config.ignoredSteps) { - if (step.name === ignored) return + if (step.title === ignored) return if (ignored instanceof RegExp) { - if (step.name.match(ignored)) return - } else if (ignored.indexOf('*') && step.name.startsWith(ignored.slice(0, -1))) return + if (step.title.match(ignored)) return + } else if (ignored.indexOf('*') && step.title.startsWith(ignored.slice(0, -1))) return } enableRetry = true })