platformsh/Visual Regression Testing with Backstop.js
Runs visual regression testing with backstop.js between a production site and PR version of a site
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| baseline_url | The production URL of the site you want to use as the baseline. | yes | — |
| test_url | The URL of the PR site we want to test against the baseline | yes | — |
| report_results | Do you want this activity to report the results back to the calling workflow (true) or pass/fail directly (false)? Default is false. | no | false |
| paths_location | Path to the template-paths.js file. Default is ./.github/tests/vrt/ from the template's repo root | — | ./.github/tests/vrt/ |
| threshold | Percentage of different pixels allowed to pass test. NOT CURRENTLY IMPLEMENTED. | no | 0.1 |
| baseline_url_response | The HTTP response status code we expect from the server for the baseline URL. Defaults to 200 | no | 200 |
| test_url_response | The HTTP response status code we expect from the server for the test URL. Defaults to 200 | no | 200 |
| baseline_url_insecure | Should we use the --insecure flag with curl when testing the baseline URL? Defaults to false | no | false |
| test_url_insecure | Should we use the --insecure flag with curl when testing the test URL? Defaults to false | no | false |
Outputs
| name | description |
|---|---|
| results | Reports from VRT |