Different ways to test UI regression
Here is a sample diff from failed test after border-radius
value has been changed:
Depending on configuration settings if a change ratio is within treshold set for tests Backstop
will throw errors in tests:
COMMAND | Command `report` ended with an error after [1.375s]
COMMAND | Error: Mismatch errors found.
at /Users/piotrblazejewicz/git/ui-regression-testing/node_modules/backstopjs/core/command/report.js:113:17
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)
COMMAND | Command `test` ended with an error after [5.284s]
COMMAND | Error: Mismatch errors found.
at /Users/piotrblazejewicz/git/ui-regression-testing/node_modules/backstopjs/core/command/report.js:113:17
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)
error Command failed with exit code 1.
@peterblazejewicz