Catch CSS curve balls.
Prior releases pinned backstop remote
's config to <CWD>/backstop.js
.
But now you can put this file anywhere with...
backstop remote --config=<path_to_your_config>
Default should fall back to <CWD>/backstop.js
. If not -- please file a ticket.
see https://github.com/garris/BackstopJS/commit/36582ca77219a2d4a0117bafc54e6bbe42149ad9
Thanks!
Many thanks to @mrmgreen for adding a pure JSON report!
😱Thanks to @brendonbarreto for performing this daring exorcism!
Making the scrubber sticky (#955) @jwongnz
Fixing issues with dependencies versioning (#960) @brendonbarreto
Add KeyPress Interactions to BackstopJS (#923) @marcdacz
Brendon Barreto: Massive code optimizations and house cleaning!
Gabe Gorelick: fixes and improvements with error handling and docker integration. Now when using the --docker
flag your BackstopJS local version spins up a docker instance using the same semver.
Puppeteer fix for creating blank (off page) screenshots (#901)
add feature flag
add feature flag check
bump the version
This version builds on this pre-release (https://github.com/garris/BackstopJS/tree/v3.6.1) which includes...
new backstop remote
command -- which reads your config and spins up a BackstopJS server enabling you to remotely host diff reports and [secret roadmap item alert] remotely run backstopjs commands. IOW: BSAAS (backstop as a service 😉).
added "Diverged" image diff library -- in stealth development here (don't tell anybody -- just between you and me)... https://github.com/garris/diverged -- so we can eventually have our diffs be more awesomer.
Cleaned up MUCHO tech debt all throughout the app including better error handling, unit tests and adding docker/client version pinning. MANY MANY THANKS TO @gabegorelick FOR HIS HELP ON THIS!
backstop init
command were originally implemented as hacks.backstop remote [--config=<path>]
in a separate terminal launches a simple web server such that reports can be shared live with all your buddies. The backstop openReport command now checks for a server running on localhost and will automatically choose the web hosted version if found. Requires that bitmap_reference
, bitmap_test
, html_report
are all accessible to your current working directory.