@allurereport/plugin-api 3.13.0 → 3.13.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/dist/plugin.d.ts CHANGED
@@ -35,7 +35,7 @@ export interface PluginContext {
35
35
  history?: AllureHistory;
36
36
  }
37
37
  export type SummaryTestResult = Pick<TestResult, "name" | "id" | "status" | "duration">;
38
- export type SummaryCheckResult = Pick<AllureCheckResult, "name" | "status">;
38
+ export type SummaryCheckResult = Pick<AllureCheckResult, "id" | "name" | "status">;
39
39
  export interface PluginSummary {
40
40
  href?: string;
41
41
  remoteHref?: string;
package/dist/store.d.ts CHANGED
@@ -71,7 +71,7 @@ export interface AllureStoreDump {
71
71
  attachments: Record<string, AttachmentLink>;
72
72
  globalAttachmentIds: string[];
73
73
  globalErrors: PluginGlobalError[];
74
- checkResults: AllureCheckResult[];
74
+ checkResults: Record<string, AllureCheckResult>;
75
75
  testCases: Record<string, TestCase>;
76
76
  fixtures: Record<string, TestFixtureResult>;
77
77
  environments: Array<string | EnvironmentIdentity>;
@@ -6,6 +6,7 @@ export const convertToSummaryTestResult = (tr) => ({
6
6
  duration: tr.duration,
7
7
  });
8
8
  export const convertToSummaryCheckResult = (check) => ({
9
+ id: check.id,
9
10
  name: check.name,
10
11
  status: check.status,
11
12
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allurereport/plugin-api",
3
- "version": "3.13.0",
3
+ "version": "3.13.1",
4
4
  "description": "Allure Plugin API",
5
5
  "keywords": [
6
6
  "allure"
@@ -26,7 +26,7 @@
26
26
  "lint:fix": "oxlint --import-plugin --fix src test features stories"
27
27
  },
28
28
  "dependencies": {
29
- "@allurereport/core-api": "3.13.0"
29
+ "@allurereport/core-api": "3.13.1"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@types/node": "^20",