Releases: bbc/wraith
Releases · bbc/wraith
Bug fix, minor UI improvement
Bug fixes and improvements, and multiple gallery templates
- Adds helpful debug information to failed tests (merged #297. Thanks @marciovicente)
- Offers a new
slideshow_template
gallery output, with improvements including linking to the path directly from the gallery page (merged #302. Thanks @ryandowd) - Prevents users from running
wraith latest
unless ahistory_dir
property is defined and the directory exists (fixes #285) - Allows testing of subsets of a config, rather than the entire config (fixes #293)
- No longer reports as a success if any of the images fails to generate a diff (fixes #292)
- Shows shell output in real time (fixes #303)
Config changes:
# this property and its sub-properties are all optional
gallery:
template: 'slideshow_template' # or 'basic_template' (which is the default)
thumb_width: 200 # default
thumb_height: 200 # default
Structural refactor
/spec
directory now self-contained, containing all test assets- new
/templates
directory is self-contained, containing all configs and JS that a Wraith user might want - refactored the example configs, with fewer examples but showing more of Wraith's options and different modes
- exposed beforeCapture hook and customHeight option to both Phantom and Casper and reduced duplication between JS/non-JS Phantom files.
- fixed broken gallery generation when image paths have
-
in them - avoid error in CasperJS when selector is not specified in YAML file
Added beforeCapture JavaScript hook
Merged in #279
Gallery Updates and Misc bug fixes
Bug fixes
v2.4.1
2.3.2
Parallel
Gem release
Wraith gem release with other code improvements.
Install by gem install wraith