diff --git a/lib/plugin/allure.js b/lib/plugin/allure.js index e902a9457..7f6e98072 100644 --- a/lib/plugin/allure.js +++ b/lib/plugin/allure.js @@ -65,6 +65,14 @@ module.exports = (config) => { reporter.startSuite(suite.fullTitle()); }); + event.dispatcher.on(event.suite.before, (suite) => { + for (const test of suite.tests) { + if (test.pending) { + reporter.pendingCase(test.title); + } + } + }); + event.dispatcher.on(event.hook.started, (hook) => { isHookSteps = true; });