pxdiff/pxdiff Storybook Visual Regression
One-liner Storybook visual regression testing with pxdiff
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| api-key | pxdiff API key | yes | — |
| build-dir | Path to Storybook build directory | yes | — |
| suite | Suite name | no | default |
| auto-baseline | Set baselines from captured screenshots (no diff) | no | false |
| auto-approve | Run diff and automatically approve all changes and set baselines | no | false |
| threshold | Diff threshold (0.0-1.0) | no | — |
| filter | Glob pattern to filter stories | no | — |
| only-changed | Only capture stories affected by code changes (change detection) | no | false |
| api-url | pxdiff API URL | no | https://pxdiff.com |
| cli-version | CLI version range to install (default set at publish time) | no | ~0.0.17 |
Outputs
| name | description |
|---|---|
| diff-url | URL to the diff review page |
| status | Result status (passed/failed) |
| changed | Number of changed snapshots |
| new | Number of new snapshots |
| capture-id | Capture ID |
| diff-id | Diff ID |