@kinora/reporter 0.6.0 → 0.7.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/README.md CHANGED
@@ -37,8 +37,9 @@ Create an API token in the kinora dashboard (Settings → Workspace). Self-hosti
37
37
 
38
38
  ## Videos and screenshots without tracing
39
39
 
40
- Traces are uploaded by default, and Playwright already embeds a test's screenshots and video
41
- inside its trace.zip. If you run without tracing, upload them on their own:
40
+ Traces are uploaded by default, along with the expected / actual / diff images of a failed
41
+ `toHaveScreenshot`, which kinora shows as a comparison. Playwright already embeds a test's other
42
+ screenshots and its video inside the trace.zip. If you run without tracing, upload them on their own:
42
43
 
43
44
  ```ts
44
45
  reporter: [['@kinora/reporter', {
package/dist/index.d.mts CHANGED
@@ -23,7 +23,8 @@ interface KinoraReporterOptions {
23
23
  policy?: 'always' | 'on-failure';
24
24
  };
25
25
  /**
26
- * Which attachment kinds to upload. Defaults to `['trace']`. Add `'video'` / `'screenshot'`
26
+ * Which attachment kinds to upload. Defaults to `['trace', 'snapshot']` (`snapshot` = the images
27
+ * of a failed screenshot assertion, shown as a comparison). Add `'video'` / `'screenshot'`
27
28
  * to host them on their own, which is what you want when `trace` is off (with tracing on,
28
29
  * Playwright already embeds them in the trace.zip).
29
30
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@kinora/reporter",
3
3
  "type": "module",
4
- "version": "0.6.0",
4
+ "version": "0.7.0",
5
5
  "description": "Playwright reporter that uploads test results to a kinora server",
6
6
  "author": "Joris Gallot",
7
7
  "license": "MIT",
@@ -37,7 +37,7 @@
37
37
  "@playwright/test": ">=1.40.0"
38
38
  },
39
39
  "dependencies": {
40
- "@kinora/core": "0.6.0"
40
+ "@kinora/core": "0.7.0"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@playwright/test": "^1.63.0",