Skip to content
This repository was archived by the owner on Sep 21, 2022. It is now read-only.

0.10.0-beta.1

Pre-release
Pre-release

Choose a tag to compare

@SevInf SevInf released this 19 Mar 18:38
· 1258 commits to master since this release
  • Basic support for IE8 browser (@SevInf).
    This change required a large rewrite of the all client-side
    scripts which can cause some breaking changes. For example,
    bounds of a capture region are calculated more precisely now.
    You'll probably need to re-gather your screenshots.
  • Calibration now correctly works in IE9 (@SevInf).
  • Added an option referenceImageAbsence (@hatroman).
    This option allows to change default behaviour of the tests
    to produce the warning if there is no reference image.
    Default behaviour is still the test failure.
  • Re-add tolerance setting, which now sets max allowed
    CIEDE2000 difference between image colors. It is now
    configurable on 3 levels:
    • tolerance option in config
    • setTolerance method for a suite
    • optional parameter to capture method:
      javascript suite.capture('name', {tolerance: 20}, function() {});
  • Programmatic API method buildDiff is now deprecated: it
    has access only to global tolerance, so diff it produces might not show
    exactly what caused test to fail. Method is kept for backward compatibility,
    but users of a programmatic API now encouraged to use saveDiffTo method of
    test result (passed to reporter) instead.
  • Warn if coverage for CSS file cannot be calculated due to
    same-origin policy (@SevInf)