@wdio/allure-reporter 8.41.0 → 8.43.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/reporter.js +1 -1
- package/package.json +3 -3
package/build/reporter.js
CHANGED
|
@@ -380,7 +380,7 @@ export default class AllureReporter extends WDIOReporter {
|
|
|
380
380
|
}
|
|
381
381
|
onAfterCommand(command) {
|
|
382
382
|
const { disableWebdriverStepsReporting, disableWebdriverScreenshotsReporting } = this._options;
|
|
383
|
-
const
|
|
383
|
+
const commandResult = command?.result?.value || command?.result?.error?.name || {};
|
|
384
384
|
const isScreenshot = isScreenshotCommand(command);
|
|
385
385
|
if (!disableWebdriverScreenshotsReporting && isScreenshot && commandResult) {
|
|
386
386
|
this.attachScreenshot('Screenshot', Buffer.from(commandResult, 'base64'));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wdio/allure-reporter",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.43.0",
|
|
4
4
|
"description": "A WebdriverIO reporter plugin to create Allure Test Reports",
|
|
5
5
|
"author": "Boris Osipov <osipov.boris@gmail.com>",
|
|
6
6
|
"homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-allure-reporter",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@types/node": "^22.2.0",
|
|
43
|
-
"@wdio/reporter": "8.
|
|
43
|
+
"@wdio/reporter": "8.43.0",
|
|
44
44
|
"@wdio/types": "8.41.0",
|
|
45
45
|
"allure-js-commons": "^2.5.0",
|
|
46
46
|
"csv-stringify": "^6.0.4",
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
"publishConfig": {
|
|
50
50
|
"access": "public"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "f3783f61e0c62001cda71231fb4d947951f6f10d"
|
|
53
53
|
}
|