@wdio/allure-reporter
Advanced tools
Comparing version 8.16.17 to 8.16.22
@@ -214,5 +214,3 @@ import { Status, AllureCommandStepExecutable } from 'allure-js-commons'; | ||
const runningStep = new AllureCommandStepExecutable(name); | ||
// looks complicated due to https://github.com/allure-framework/allure-js/commit/ce9a6f986d32a079b7f60c9f77a7d90f01d9a9f2#r110599261 | ||
const result = await new Promise((resolve) => runningStep.run(body, async (result) => resolve(result))); | ||
tellReporter(events.addAllureStep, result); | ||
await runningStep.run(body, async (message) => tellReporter(events.addAllureStep, message)); | ||
} | ||
@@ -219,0 +217,0 @@ export default { |
@@ -238,5 +238,3 @@ "use strict"; | ||
const runningStep = new allure_js_commons_1.AllureCommandStepExecutable(name); | ||
// looks complicated due to https://github.com/allure-framework/allure-js/commit/ce9a6f986d32a079b7f60c9f77a7d90f01d9a9f2#r110599261 | ||
const result = await new Promise((resolve) => runningStep.run(body, async (result) => resolve(result))); | ||
tellReporter(constants_js_1.events.addAllureStep, result); | ||
await runningStep.run(body, async (message) => tellReporter(constants_js_1.events.addAllureStep, message)); | ||
} | ||
@@ -243,0 +241,0 @@ exports.step = step; |
{ | ||
"name": "@wdio/allure-reporter", | ||
"version": "8.16.17", | ||
"version": "8.16.22", | ||
"description": "A WebdriverIO reporter plugin to create Allure Test Reports", | ||
@@ -43,4 +43,4 @@ "author": "Boris Osipov <osipov.boris@gmail.com>", | ||
"@types/node": "^20.1.0", | ||
"@wdio/reporter": "8.16.17", | ||
"@wdio/types": "8.16.12", | ||
"@wdio/reporter": "8.16.22", | ||
"@wdio/types": "8.16.22", | ||
"allure-js-commons": "^2.5.0", | ||
@@ -53,3 +53,3 @@ "csv-stringify": "^6.0.4", | ||
}, | ||
"gitHead": "5bb4539c96e11a7ece83630b30c0a54903b55c0e" | ||
"gitHead": "54b6b1723b012e6792941199a325aaea8ebe7356" | ||
} |
Sorry, the diff of this file is not supported yet
90040
1886
+ Added@wdio/reporter@8.16.22(transitive)
+ Added@wdio/types@8.16.22(transitive)
- Removed@wdio/reporter@8.16.17(transitive)
- Removed@wdio/types@8.16.12(transitive)
Updated@wdio/reporter@8.16.22
Updated@wdio/types@8.16.22