newman-reporter-qase 2.0.5 → 2.1.1
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/changelog.md +14 -0
- package/dist/reporter.d.ts +1 -1
- package/dist/reporter.js +6 -6
- package/package.json +2 -2
package/changelog.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# qase-newman@2.1.1
|
|
2
|
+
|
|
3
|
+
## What's new
|
|
4
|
+
|
|
5
|
+
Fixed an issue where parent suite hierarchy was not properly handled in test results. Now results correctly display the
|
|
6
|
+
full structure of suites.
|
|
7
|
+
|
|
8
|
+
# qase-newman@2.1.0
|
|
9
|
+
|
|
10
|
+
## What's new
|
|
11
|
+
|
|
12
|
+
- Updated to the latest minor version of the common package for improved compatibility and features.
|
|
13
|
+
- Fixed all ESLint warnings across the project to ensure code quality and maintainability.
|
|
14
|
+
|
|
1
15
|
# qase-newman@2.0.5
|
|
2
16
|
|
|
3
17
|
## What's new
|
package/dist/reporter.d.ts
CHANGED
package/dist/reporter.js
CHANGED
|
@@ -68,13 +68,13 @@ class NewmanQaseReporter {
|
|
|
68
68
|
* @private
|
|
69
69
|
*/
|
|
70
70
|
static getParentTitles(item) {
|
|
71
|
-
|
|
72
|
-
if ('name' in item) {
|
|
73
|
-
titles.push(String(item.name));
|
|
74
|
-
}
|
|
71
|
+
let titles = [];
|
|
75
72
|
const parent = item.parent();
|
|
76
73
|
if (parent) {
|
|
77
|
-
titles.concat(NewmanQaseReporter.getParentTitles(parent));
|
|
74
|
+
titles = titles.concat(NewmanQaseReporter.getParentTitles(parent));
|
|
75
|
+
}
|
|
76
|
+
if ('name' in item) {
|
|
77
|
+
titles.push(String(item.name));
|
|
78
78
|
}
|
|
79
79
|
return titles;
|
|
80
80
|
}
|
|
@@ -264,7 +264,7 @@ class NewmanQaseReporter {
|
|
|
264
264
|
}, {});
|
|
265
265
|
}
|
|
266
266
|
/**
|
|
267
|
-
* @param {
|
|
267
|
+
* @param {unknown} iterationData
|
|
268
268
|
* @private
|
|
269
269
|
*/
|
|
270
270
|
getParameters(iterationData) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "newman-reporter-qase",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.1.1",
|
|
4
4
|
"description": "Qase TMS Newman Reporter",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"author": "Qase Team <support@qase.io>",
|
|
40
40
|
"license": "Apache-2.0",
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"qase-javascript-commons": "~2.
|
|
42
|
+
"qase-javascript-commons": "~2.3.0",
|
|
43
43
|
"semver": "^7.5.1"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|