@wdio/allure-reporter 8.8.2 → 8.8.6
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/common/api.d.ts +1 -1
- package/build/common/api.js +2 -2
- package/build/utils.d.ts +1 -1
- package/build/utils.js +1 -1
- package/cjs/common/api.js +2 -2
- package/package.json +4 -4
package/build/common/api.d.ts
CHANGED
|
@@ -126,7 +126,7 @@ export declare function endStep(status?: Status): void;
|
|
|
126
126
|
* Create allure step
|
|
127
127
|
* @name addStep
|
|
128
128
|
* @param {string} title - step name in report
|
|
129
|
-
* @param {
|
|
129
|
+
* @param {object} [attachmentObject={}] - attachment for step
|
|
130
130
|
* @param {string} attachmentObject.content - attachment content
|
|
131
131
|
* @param {string} [attachmentObject.name='attachment'] - attachment name
|
|
132
132
|
* @param {string} [attachmentObject.type='text/plain'] - attachment type
|
package/build/common/api.js
CHANGED
|
@@ -3,7 +3,7 @@ import { events } from '../constants.js';
|
|
|
3
3
|
/**
|
|
4
4
|
* Call reporter
|
|
5
5
|
* @param {string} event - event name
|
|
6
|
-
* @param {
|
|
6
|
+
* @param {object} msg - event payload
|
|
7
7
|
* @private
|
|
8
8
|
*/
|
|
9
9
|
const tellReporter = (event, msg = {}) => {
|
|
@@ -178,7 +178,7 @@ export function endStep(status = Status.PASSED) {
|
|
|
178
178
|
* Create allure step
|
|
179
179
|
* @name addStep
|
|
180
180
|
* @param {string} title - step name in report
|
|
181
|
-
* @param {
|
|
181
|
+
* @param {object} [attachmentObject={}] - attachment for step
|
|
182
182
|
* @param {string} attachmentObject.content - attachment content
|
|
183
183
|
* @param {string} [attachmentObject.name='attachment'] - attachment name
|
|
184
184
|
* @param {string} [attachmentObject.type='text/plain'] - attachment type
|
package/build/utils.d.ts
CHANGED
|
@@ -32,7 +32,7 @@ export declare const isMochaEachHooks: (title: string) => boolean;
|
|
|
32
32
|
export declare const isMochaAllHooks: (title: string) => boolean;
|
|
33
33
|
/**
|
|
34
34
|
* Properly format error from different test runners
|
|
35
|
-
* @param {
|
|
35
|
+
* @param {object} test - TestStat object
|
|
36
36
|
* @returns {Object} - error object
|
|
37
37
|
* @private
|
|
38
38
|
*/
|
package/build/utils.js
CHANGED
|
@@ -52,7 +52,7 @@ export const isMochaEachHooks = (title) => mochaEachHooks.some((hook) => title.i
|
|
|
52
52
|
export const isMochaAllHooks = (title) => mochaAllHooks.some((hook) => title.includes(hook));
|
|
53
53
|
/**
|
|
54
54
|
* Properly format error from different test runners
|
|
55
|
-
* @param {
|
|
55
|
+
* @param {object} test - TestStat object
|
|
56
56
|
* @returns {Object} - error object
|
|
57
57
|
* @private
|
|
58
58
|
*/
|
package/cjs/common/api.js
CHANGED
|
@@ -6,7 +6,7 @@ const constants_js_1 = require("../constants.js");
|
|
|
6
6
|
/**
|
|
7
7
|
* Call reporter
|
|
8
8
|
* @param {string} event - event name
|
|
9
|
-
* @param {
|
|
9
|
+
* @param {object} msg - event payload
|
|
10
10
|
* @private
|
|
11
11
|
*/
|
|
12
12
|
const tellReporter = (event, msg = {}) => {
|
|
@@ -200,7 +200,7 @@ exports.endStep = endStep;
|
|
|
200
200
|
* Create allure step
|
|
201
201
|
* @name addStep
|
|
202
202
|
* @param {string} title - step name in report
|
|
203
|
-
* @param {
|
|
203
|
+
* @param {object} [attachmentObject={}] - attachment for step
|
|
204
204
|
* @param {string} attachmentObject.content - attachment content
|
|
205
205
|
* @param {string} [attachmentObject.name='attachment'] - attachment name
|
|
206
206
|
* @param {string} [attachmentObject.type='text/plain'] - attachment type
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wdio/allure-reporter",
|
|
3
|
-
"version": "8.8.
|
|
3
|
+
"version": "8.8.6",
|
|
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,8 +40,8 @@
|
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@types/node": "^18.0.0",
|
|
43
|
-
"@wdio/reporter": "8.8.
|
|
44
|
-
"@wdio/types": "8.8.
|
|
43
|
+
"@wdio/reporter": "8.8.6",
|
|
44
|
+
"@wdio/types": "8.8.6",
|
|
45
45
|
"allure-js-commons": "^2.0.0",
|
|
46
46
|
"csv-stringify": "^6.0.4",
|
|
47
47
|
"strip-ansi": "^6.0.0"
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
"publishConfig": {
|
|
50
50
|
"access": "public"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "0db3b2f595ef834e6e01f58873dbde776dc08240"
|
|
53
53
|
}
|