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.8.0

30 Sep 11:32
Compare
Choose a tag to compare
  • New image comparison algorithm is implemented:
    • gm compare replaced with custom diff. For now, GraphicsMagick
      is still required for other image manipulations.
    • tolerance setting is removed in favor of "strict mode": by default,
      only noticable changes (according to ciede2000 metric) will be treated
      as failure, to treat all changes that way user can enable
      strictComparison option.
    • in case if some element in focus during test can potentially have
      blinking caret displayed, diff will try to ignore caret.
  • Remove built-in TeamCity reporter. If you really want
    it, you can adapt 0.7.x reporter to the current version
    of gemini and publish it in separate package.
  • Remove legacy ability to specify browsers as array which
    was deprecated since 0.4.0.
  • Add experimental programmatic API.
  • Add --grep option to gather and test commands, which
    allows to execute only suites, matching the pattern (@scf2k).
  • Show required dimensions in error message when origin does
    not fir to full-page screenshot (@scf2k)

0.7.0

15 Sep 12:07
Compare
Choose a tag to compare
  • Show meaningful error when capture area origin
    does not fit to full-page screenshot. This change
    can break some of your tests (@scf2k).
  • Add experimental CSS-coverage report. Enable
    with --coverage CLI flag or coverage: true in
    config (@scf2k).
  • Add ability to override gridUrl,rootUrl, screenshotsDir,
    debug config options by their respective CLI options or
    environment variables (@arikon).
  • Add config option windowSize to specify default
    size of the browser windows (@scf2k).
  • Add action setWindowSize to specify browser
    window size during the tests (@scf2k).

0.6.5

12 Sep 12:44
Compare
Choose a tag to compare

Was republished as 0.7.0 due to a breaking change.

0.6.4

12 Sep 12:45
Compare
Choose a tag to compare
  • Add command line completion (@unlok).
  • Show an error, when config file has unknown
    options.
  • Add focus(element) action (@arikon).

0.6.3

05 Aug 11:31
Compare
Choose a tag to compare
  • Allow to use empty string with sendKeys. It can be used
    to focus on an element without changing states.

0.6.2

04 Aug 13:19
Compare
Choose a tag to compare
  • Reset mouse position for each suite. Previously, cursor
    may stay at the position left from a previous suite and
    some elements was captured with hover effect when there
    shouldn't be any.

0.6.1

04 Aug 13:19
Compare
Choose a tag to compare
  • Fix incorrect capture region rounding, causing bottom row
    of the element to be cropped sometimes.

0.6.0

28 Jul 14:16
Compare
Choose a tag to compare
  • :before and :after pseudo-elements outline and shadow are now
    taken into account when calculating capture region(@incorp).

    This change can break some of your tests. Re-gather reference images
    to fix the problem.

  • Added tolerance config option which can be used to specify maximum
    error rate before images will be treated as unequal.
    Default tolerance to 0. This is stricter then previous versions:
    now every, even slightest difference between reference and current
    images will fail tests.

    Set tolerance to 0.001 in .gemini.yml to restore 0.5.x behavior.

  • Coordinates of capture region are now rounded to capture maximal area.
    Previously, border pixels could be cropped, due to rounding error.
    This change can break some of your tests. Re-gather reference images
    to fix the problem.

  • Added ability to change diff highlight color in config file.

  • Change diff highlight style

  • Global installations of gemini now runs local one, if available.

0.5.0

28 Jul 14:15
Compare
Choose a tag to compare
  • Browsers are now launched once for each run (previously, they were
    launched once per suite). This greatly reduces total tests run time,
    but can break some of your code, i.e. each mouseDown should always
    be closed by mouseUp.
    Previously, this was not required if mouseDown was used once for
    suite.
    It will show warning if versions of the modules does not match.
  • flat reporter replaces tree. Tree reporter can not work with new
    browser launch model.
  • Add parallelLimit option that allows to limit number of browsers
    run in parallel.
  • Add suite.after() which can be used to perform some action after all
    of the states without taking screenshot.
  • Unknown errors, returned by Selenium have more detailed report.
  • Fix --version option.

0.4.2

02 Jul 08:14
Compare
Choose a tag to compare
  • Fix missing images in html report.