found-pixel 0.5.0-alpha.81 → 0.5.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.
Files changed (2) hide show
  1. package/README.md +19 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -80,8 +80,18 @@ Example:
80
80
  "useGitattributes": true
81
81
  },
82
82
  "visualRegression": {
83
- "enabled": true,
84
- "timeoutMinutes": 120
83
+ "timeoutMinutes": 120,
84
+ "threshold": 0,
85
+ "shotConcurrency": 5,
86
+ "compareConcurrency": 10,
87
+ "waitBeforeScreenshot": 1000,
88
+ "waitForFirstRequest": 1000,
89
+ "waitForLastRequest": 1000,
90
+ "timeouts": {
91
+ "fetchStories": 30000,
92
+ "loadState": 30000,
93
+ "networkRequests": 30000
94
+ }
85
95
  },
86
96
  "comment": {
87
97
  "heading": "📘 UI Review",
@@ -102,8 +112,14 @@ Example:
102
112
  - `defaultBranch`: `"master"`
103
113
  - `visualRegression.enabled`: `true`
104
114
  - `visualRegression.timeoutMinutes`: `120` (per lost-pixel pass — baseline and compare are timed independently)
115
+ - `visualRegression.shotConcurrency`: `5`
116
+ - `visualRegression.compareConcurrency`: `10`
117
+ - `visualRegression.waitBeforeScreenshot`: `1000`
118
+ - `visualRegression.waitForFirstRequest`: `1000`
119
+ - `visualRegression.waitForLastRequest`: `1000`
120
+ - `visualRegression.threshold`: `0` — Values `>=1` measure in absolute pixels, values from `0.00` to `1.00` are percentage
105
121
  - `skipLabels`: `[ "skip-ui-review" ]` — GitHub labels (from `BUILDKITE_PULL_REQUEST_LABELS`) that skip the `review` stage (storybook is still built and uploaded)
106
- - `comment.heading`: `"📘 Storybook Review"`
122
+ - `comment.heading`: `"📘 UI Review"`
107
123
  - `comment.marker`: `"<!-- found-pixel-comment -->"`
108
124
  - `comment.maxChars`: `62000`
109
125
  - `screenshots.uploadPrefix`: `"public"`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "found-pixel",
3
- "version": "0.5.0-alpha.81",
3
+ "version": "0.5.0",
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",