@wdio/allure-reporter 7.16.8 → 7.16.10
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/index.js +2 -2
- package/package.json +3 -3
package/build/index.js
CHANGED
|
@@ -16,7 +16,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
16
16
|
const reporter_1 = __importDefault(require("@wdio/reporter"));
|
|
17
17
|
const utils_1 = require("./utils");
|
|
18
18
|
const constants_1 = require("./constants");
|
|
19
|
-
const
|
|
19
|
+
const sync_1 = require("csv-stringify/sync");
|
|
20
20
|
/**
|
|
21
21
|
* Allure v1 has no proper TS support
|
|
22
22
|
* ToDo(Christian): update to Allure v2 (https://github.com/webdriverio/webdriverio/issues/6313)
|
|
@@ -133,7 +133,7 @@ class AllureReporter extends reporter_1.default {
|
|
|
133
133
|
const argument = testObj === null || testObj === void 0 ? void 0 : testObj.argument;
|
|
134
134
|
const dataTable = (_a = argument === null || argument === void 0 ? void 0 : argument.rows) === null || _a === void 0 ? void 0 : _a.map((a) => a === null || a === void 0 ? void 0 : a.cells);
|
|
135
135
|
if (dataTable) {
|
|
136
|
-
this._allure.addAttachment('Data Table', stringify(dataTable), 'text/csv');
|
|
136
|
+
this._allure.addAttachment('Data Table', (0, sync_1.stringify)(dataTable), 'text/csv');
|
|
137
137
|
}
|
|
138
138
|
return step;
|
|
139
139
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wdio/allure-reporter",
|
|
3
|
-
"version": "7.16.
|
|
3
|
+
"version": "7.16.10",
|
|
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",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"@wdio/reporter": "7.16.3",
|
|
29
29
|
"@wdio/types": "7.16.3",
|
|
30
30
|
"allure-js-commons": "^1.3.2",
|
|
31
|
-
"csv-stringify": "^
|
|
31
|
+
"csv-stringify": "^6.0.4",
|
|
32
32
|
"strip-ansi": "^6.0.0"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"publishConfig": {
|
|
38
38
|
"access": "public"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "1f059837311bb05ecbf7a8442cfb57b04036be29"
|
|
41
41
|
}
|