@allurereport/plugin-awesome 3.13.2 → 3.14.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.
@@ -4,7 +4,7 @@ import { createRequire } from "node:module";
4
4
  import { basename, dirname, join } from "node:path";
5
5
  import { defaultChartsConfig } from "@allurereport/charts-api";
6
6
  import { compareBy, createBaseUrlScript, createFontLinkTag, createReportDataScript, stringifyForInlineScript, createScriptTag, createStylesLinkTag, incrementStatistic, joinPosixPath, nullsLast, ordinal, } from "@allurereport/core-api";
7
- import { createTreeByLabels, createTreeByLabelsAndTitlePath, createTreeByTitlePath, preciseTreeLabels, processTree, } from "@allurereport/plugin-api";
7
+ import { collapseTreeGroups, createTreeByLabels, createTreeByLabelsAndTitlePath, createTreeByTitlePath, preciseTreeLabels, processTree, } from "@allurereport/plugin-api";
8
8
  import { generateCharts, getPieChartValues } from "@allurereport/web-commons";
9
9
  import Handlebars from "handlebars";
10
10
  import { convertFixtureResult, convertTestResult } from "./converters.js";
@@ -259,7 +259,7 @@ const buildTreeByTitlePath = (tests) => {
259
259
  groupsById: mergedGroupsById,
260
260
  };
261
261
  };
262
- const buildTreeByLabelsAndTitlePathCombined = (tests, labels) => createTreeByLabelsAndTitlePath(tests, labels, leafFactory, undefined, (group, leaf) => incrementStatistic(group.statistic, leaf.status));
262
+ const buildTreeByLabelsAndTitlePathCombined = (tests, labels) => collapseTreeGroups(createTreeByLabelsAndTitlePath(tests, labels, leafFactory, undefined, (group, leaf) => incrementStatistic(group.statistic, leaf.status)));
263
263
  const leafFactory = ({ id, name, status, duration, flaky, start, retry, retriesCount, transition, tooltips, historyId, groupedLabels, categories, }) => {
264
264
  const leaf = {
265
265
  nodeId: id,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allurereport/plugin-awesome",
3
- "version": "3.13.2",
3
+ "version": "3.14.1",
4
4
  "description": "Allure Awesome Plugin – brand new HTML report with modern design and new features",
5
5
  "keywords": [
6
6
  "allure",
@@ -30,11 +30,11 @@
30
30
  "lint:fix": "oxlint --import-plugin --fix src test features stories"
31
31
  },
32
32
  "dependencies": {
33
- "@allurereport/charts-api": "3.13.2",
34
- "@allurereport/core-api": "3.13.2",
35
- "@allurereport/plugin-api": "3.13.2",
36
- "@allurereport/web-awesome": "3.13.2",
37
- "@allurereport/web-commons": "3.13.2",
33
+ "@allurereport/charts-api": "3.14.1",
34
+ "@allurereport/core-api": "3.14.1",
35
+ "@allurereport/plugin-api": "3.14.1",
36
+ "@allurereport/web-awesome": "3.14.1",
37
+ "@allurereport/web-commons": "3.14.1",
38
38
  "d3-shape": "^3.2.0",
39
39
  "handlebars": "^4.7.9",
40
40
  "markdown-it": "^14.2.0"