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

Releases: gemini-testing/gemini

0.11.4

29 Apr 14:39
Compare
Choose a tag to compare
  • Calibration affects only top and left sides of the screenshot (@Scff).

0.11.3

24 Apr 15:13
Compare
Choose a tag to compare
  • Take into account horizontal scrolling when validating capture area
    for viewport screenshot (@scf2k).
  • Add missing pollyfills for IE8. This allows to gather coverage in
    ie8 (@SevInf).
  • Correctly report execptions, thrown during coverage gathering (@SevInf).

0.11.2

21 Apr 13:57
Compare
Choose a tag to compare
  • Republish 0.11.1 due to npm registry bug.

0.11.1

21 Apr 12:11
Compare
Choose a tag to compare
  • Fix crash after all tests are finished (@SevInf).

0.11.0

18 Apr 10:02
Compare
Choose a tag to compare
  • Plugins support (@Saulis).
    Check out documentation
    and some plugin examples:
  • Add flick action for touch devices (@scf2k).
  • Add sessionMode property which allows to choose when new
    WebDriver session is created (@SevInf).
  • Automatically kill browser session on SIGHUP, SIGINT and
    SIGTERM (@j0tunn).
  • Allow to switch image background in HTML reoport (@unlok).
  • url.resolve is not used anymore for computing absolute
    URLs from rootUrl and suite URL. It is now just joined
    with a single / in between (@j0tunn).
  • Update png-image so it can be built with gcc 4.6 (@j0tunn).
  • Correctly expose __gemini variable in client scripts (@vlkosinov).
  • Grep pattern now checked when suites load, not when they are
    executed (@hatroman).
  • HTML report refactoring (@hatroman).

0.10.0

06 Apr 17:23
Compare
Choose a tag to compare

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)

0.9.9

06 Apr 10:28
Compare
Choose a tag to compare
  • Adds new option --browser to the CLI and browsers to the API which
    allows to run tests in a subset of browsers (@SevInf).

0.10.0-beta.2

26 Mar 15:40
Compare
Choose a tag to compare
0.10.0-beta.2 Pre-release
Pre-release
  • Use document height instead of body height to determine
    whether webdriver returns document or viewport screenshot (@SevInf)

0.10.0-beta.1

19 Mar 18:38
Compare
Choose a tag to compare
0.10.0-beta.1 Pre-release
Pre-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)

0.9.8

11 Feb 09:19
Compare
Choose a tag to compare
  • Work correctly if WebDriver implementation returns screenshot with
    a browser chrome. This is done via calibration step after first launch
    of the browsers (@scf2k).
  • Add ability to ignore certain elements when comparing screenshots.
    Use suite.ignoreElements(selector1, selector2, ...) to specify
    the selectors to ignore (@SevInf).
  • Add tap action for touch devices (@scf2k).
  • gemini is now works correctly if page changes during the test (@scf2k).
  • Correctly handle missing timeout in waitForElementXXX (@SevInf).
  • Correctly report image path in gather API (@SevInf).