found-pixel 0.8.2-alpha.164 → 0.8.2-alpha.165

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
@@ -78,7 +78,7 @@ Example:
78
78
  },
79
79
  "visualRegression": {
80
80
  "timeoutMinutes": 120,
81
- "threshold": 50,
81
+ "threshold": 20,
82
82
  "reshootBelow": 0.005,
83
83
  "shotConcurrency": 5,
84
84
  "baselines": true
@@ -103,7 +103,7 @@ Example:
103
103
  - `visualRegression.enabled`: `true`
104
104
  - `visualRegression.timeoutMinutes`: `120` — time budget for all screenshots in one run; stories still unshot when it runs out are reported as failed
105
105
  - `visualRegression.shotConcurrency`: `5` — stories shot in parallel, each in its own browser context
106
- - `visualRegression.threshold`: `50` — below `1`, the fraction of a shot's pixels that may differ (`0.0005` = 0.05%); `1` or more, an absolute pixel count. The default absorbs anti-aliasing noise
106
+ - `visualRegression.threshold`: `20` — below `1`, the fraction of a shot's pixels that may differ (`0.0005` = 0.05%); `1` or more, an absolute pixel count. The default absorbs anti-aliasing noise
107
107
  - `visualRegression.reshootBelow`: `0.005` — differences up to this fraction of a shot's pixels are re-shot in isolation before they're reported; larger ones are reported straight away. `1` re-shoots every difference
108
108
  - `visualRegression.baselines`: `true` — keep shared baseline screenshots of the default branch and compare PRs against them (requires `screenshots`)
109
109
  - `skipLabels`: `[ "skip-ui-review" ]` — GitHub labels (from `BUILDKITE_PULL_REQUEST_LABELS`) that skip the `review` stage (storybook is still built and uploaded)
package/dist/config.d.ts CHANGED
@@ -72,7 +72,7 @@ export declare const ConfigSchema: z.ZodObject<{
72
72
  * Values below 1 are a fraction of the image's pixels (0.0005 = 0.05%)
73
73
  *
74
74
  * Values greater or equal to 1 are interpreted as pixel count.
75
- * @default 50
75
+ * @default 20
76
76
  */
77
77
  threshold: z.ZodDefault<z.ZodNumber>;
78
78
  /**
package/dist/config.js CHANGED
@@ -45,9 +45,9 @@ export const ConfigSchema = z.object({
45
45
  * Values below 1 are a fraction of the image's pixels (0.0005 = 0.05%)
46
46
  *
47
47
  * Values greater or equal to 1 are interpreted as pixel count.
48
- * @default 50
48
+ * @default 20
49
49
  */
50
- threshold: z.number().default(50),
50
+ threshold: z.number().default(20),
51
51
  /**
52
52
  * Differences up to this fraction of a shot's pixels are re-shot in isolation before they're reported;
53
53
  * larger ones are reported straight away. 1 re-shoots every difference.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "found-pixel",
3
- "version": "0.8.2-alpha.164",
3
+ "version": "0.8.2-alpha.165",
4
4
  "description": "Storybook visual regression workflow for Buildkite: build, upload, diff, visually regress, upsert PR comment.",
5
5
  "license": "MIT",
6
6
  "author": "Healthengine",