@allurereport/plugin-awesome 3.19.1 → 3.20.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/dist/generators.js +2 -0
- package/dist/static/report.tar +0 -0
- package/package.json +6 -6
package/dist/generators.js
CHANGED
|
@@ -274,6 +274,7 @@ const buildTreeByTitlePath = (tests) => {
|
|
|
274
274
|
};
|
|
275
275
|
const buildTreeByLabelsAndTitlePathCombined = (tests, labels) => collapseTreeGroups(createTreeByLabelsAndTitlePath(tests, labels, leafFactory, undefined, (group, leaf) => incrementStatistic(group.statistic, leaf.status)));
|
|
276
276
|
const leafFactory = ({ id, name, status, duration, flaky, start, retry, retriesCount, resolution, transition, tooltips, retryHash, groupedLabels, categories, }) => {
|
|
277
|
+
const unresolvedFailure = (status === "failed" || status === "broken") && !resolution;
|
|
277
278
|
const leaf = {
|
|
278
279
|
nodeId: id,
|
|
279
280
|
id: retryHash ?? id,
|
|
@@ -285,6 +286,7 @@ const leafFactory = ({ id, name, status, duration, flaky, start, retry, retriesC
|
|
|
285
286
|
retry,
|
|
286
287
|
retriesCount,
|
|
287
288
|
resolution,
|
|
289
|
+
resolutionStatus: resolution ?? (unresolvedFailure ? "none" : undefined),
|
|
288
290
|
transition,
|
|
289
291
|
tooltips,
|
|
290
292
|
};
|
package/dist/static/report.tar
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allurereport/plugin-awesome",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.20.0",
|
|
4
4
|
"description": "Allure Awesome Plugin – brand new HTML report with modern design and new features",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"allure",
|
|
@@ -30,16 +30,16 @@
|
|
|
30
30
|
"lint:fix": "oxlint --import-plugin --fix src test features stories"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@allurereport/charts-api": "3.
|
|
34
|
-
"@allurereport/core-api": "3.
|
|
35
|
-
"@allurereport/plugin-api": "3.
|
|
36
|
-
"@allurereport/web-commons": "3.
|
|
33
|
+
"@allurereport/charts-api": "3.20.0",
|
|
34
|
+
"@allurereport/core-api": "3.20.0",
|
|
35
|
+
"@allurereport/plugin-api": "3.20.0",
|
|
36
|
+
"@allurereport/web-commons": "3.20.0",
|
|
37
37
|
"d3-shape": "^3.2.0",
|
|
38
38
|
"handlebars": "^4.7.9",
|
|
39
39
|
"markdown-it": "^14.2.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@allurereport/web-awesome": "3.
|
|
42
|
+
"@allurereport/web-awesome": "3.20.0",
|
|
43
43
|
"@types/d3-shape": "^3.1.8",
|
|
44
44
|
"@types/markdown-it": "^14.1.2",
|
|
45
45
|
"@types/node": "^20",
|