@piwitests/reporter 0.22.1 → 0.24.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.
@@ -14,6 +14,8 @@ declare const ATTACHMENT_NAMES: {
14
14
  readonly locatorSuggestion: "piwi-locator-suggestion";
15
15
  readonly pageState: "piwi-page-state";
16
16
  readonly userPick: "piwi-user-pick";
17
+ readonly aiUsage: "piwi-ai-usage";
18
+ readonly aiMeta: "piwi-ai-meta";
17
19
  };
18
20
  /** Set of every internal attachment name — used to skip them when collecting user attachments. */
19
21
  declare const INTERNAL_ATTACHMENT_NAMES: ReadonlySet<string>;
@@ -34,7 +34,9 @@ var ATTACHMENT_NAMES = {
34
34
  webVitals: "piwi-web-vitals",
35
35
  locatorSuggestion: "piwi-locator-suggestion",
36
36
  pageState: "piwi-page-state",
37
- userPick: "piwi-user-pick"
37
+ userPick: "piwi-user-pick",
38
+ aiUsage: "piwi-ai-usage",
39
+ aiMeta: "piwi-ai-meta"
38
40
  };
39
41
  var INTERNAL_ATTACHMENT_NAMES = new Set(Object.values(ATTACHMENT_NAMES));
40
42
  var LOCATOR_SUGGESTION_ANNOTATION = ATTACHMENT_NAMES.locatorSuggestion;
@@ -1685,7 +1685,9 @@ var ATTACHMENT_NAMES = {
1685
1685
  webVitals: "piwi-web-vitals",
1686
1686
  locatorSuggestion: "piwi-locator-suggestion",
1687
1687
  pageState: "piwi-page-state",
1688
- userPick: "piwi-user-pick"
1688
+ userPick: "piwi-user-pick",
1689
+ aiUsage: "piwi-ai-usage",
1690
+ aiMeta: "piwi-ai-meta"
1689
1691
  };
1690
1692
  var INTERNAL_ATTACHMENT_NAMES = new Set(Object.values(ATTACHMENT_NAMES));
1691
1693
  var LOCATOR_SUGGESTION_ANNOTATION = ATTACHMENT_NAMES.locatorSuggestion;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@piwitests/reporter",
3
- "version": "0.22.1",
3
+ "version": "0.24.0",
4
4
  "description": "Playwright reporter that streams results, traces and HTML reports to a Piwi Dashboard instance",
5
5
  "url": "https://github.com/PiwiTests/platform",
6
6
  "homepage": "https://piwitests.github.io",
@@ -51,6 +51,8 @@
51
51
  "reporter:test:coverage": "vitest run --coverage",
52
52
  "reporter:test:watch": "vitest",
53
53
  "reporter:test:integration": "npm run reporter:build && playwright test --config=tests/integration/playwright.config.ts",
54
+ "reporter:test:integration:ai": "npm run reporter:build && node tests/integration/ai/run.mjs",
55
+ "reporter:test:integration:ai:live": "npm run reporter:build && playwright test --config=tests/integration/ai/live.config.ts",
54
56
  "test": "npm run reporter:test",
55
57
  "prepublishOnly": "npm run reporter:build"
56
58
  },