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

0.10.0

Choose a tag to compare

@SevInf SevInf released this 06 Apr 17:23
· 1237 commits to master since this release

Changes since beta.2:

  • Fix calibration to work in IE8 again (@SevInf)
  • Client scripts which gemini injects into page
    are now bundled together and minified (@scf2k).
  • Update png-img version bringing support for node v0.12
    and iojs (@j0tunn).
  • Don't inject main client script twice (@scf2k)
  • Ported 0.9.9 changes (@SevInf)

Changes since 0.9.8:

  • 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)

  • Use document height instead of body height to determine
    whether webdriver returns document or viewport screenshot (@SevInf)