diff --git a/lib/plugin/allure.js b/lib/plugin/allure.js index b036e80d6..93d497f38 100644 --- a/lib/plugin/allure.js +++ b/lib/plugin/allure.js @@ -244,6 +244,13 @@ module.exports = (config) => { } }); + event.dispatcher.on(event.step.comment, (step) => { + reporter.startStep(step.toString()); + currentStep = step; + reporter.endStep('passed'); + currentStep = null; + }); + event.dispatcher.on(event.step.passed, (step) => { if (currentStep === step) { reporter.endStep('passed');