8000 gemini/CHANGELOG.md at master Β· gemini-testing/gemini Β· GitHub
[go: up one dir, main page]

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

Latest commit

Β 

History

History
2037 lines (1195 loc) Β· 59.6 KB

CHANGELOG.md

File metadata and controls

2037 lines (1195 loc) Β· 59.6 KB

Change Log

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

7.5.2 (2019-11-25)

7.5.1 (2019-07-29)

Bug Fixes

  • make executeJS method work properly with arrow function (514fc1b)

7.5.0 (2019-07-25)

Features

  • config: add support for workers config option (d7b7710)

7.4.1 (2019-03-20)

Bug Fixes

  • error maximum call stack size exceeded from looks-same (0e18704)

7.4.0 (2019-03-13)

Bug Fixes

  • notice about deprecated option replacement (b066b16)

Features

7.3.0 (2019-01-29)

Bug Fixes

  • build diff image with using "antialiasingTolerance" prop (7ff6e2a)

Features

  • add option "buildDiffOpts" to configure building diff image (2c672df)

7.2.0 (2019-01-24)

Features

  • use ref image from looks-same (3a1a3f3)

7.1.2 (2019-01-10)

Bug Fixes

  • do not fall by memory in looks-same (67b432e)

7.1.1 (2018-12-26)

Bug Fixes

  • use gemini-core with stable looks-same (9f8e97b)

7.1.0 (2018-12-26)

Features

  • pass diff bounds to error from looks-same (bdb3aab)

7.0.1 (2018-12-14)

7.0.0 (2018-12-13)

Bug Fixes

  • do not convert ref image file to base64 to get size (99c767f)

Chores

  • drop node versions previous to 8 (2eeddbb)

BREAKING CHANGES

  • now supported version of node >= 8.0.0

6.0.0 (2018-11-29)

Features

  • emits image sizes on test execution events (09b4318)

BREAKING CHANGES

  • now on test execution events (TEST_RESULT, UPDATE_RESULT, RETRY, ERROR) emited image info (object) with path and size instead of only emit image path

5.9.1 (2018-10-02)

5.9.0 (2018-09-11)

Features

  • add "antialiasingTolerance" option (de7cc86)

5.8.1 (2018-09-04)

Bug Fixes

  • 'changeOrientation' action waits for screen rotate (4e42d7e)
10BC8

5.8.0 (2018-08-14)

Features

  • set default browser orientation before each test (8348d7a)

5.7.2 (2018-06-09)

5.7.1 (2018-05-21)

Bug Fixes

  • vflat: verbose reporter does not show session id (187f8e8)

5.7.0 (2018-05-07)

Features

  • introduce hermione.halt method (da68965)

5.6.2 (2018-03-26)

Bug Fixes

  • move set option to commander global options (85d7d04)

5.6.1 (2018-03-23)

Bug Fixes

  • child suites retries not called (a141462)

5.6.0 (2018-03-20)

Features

  • "skip" and "only" methods for tests API (7b1853a)

5.5.2 (2018-03-13)

Bug Fixes

  • suite clone does not clone fullUrl (4d9bc62)

5.5.1 (2018-02-26)

Bug Fixes

  • child suite retries not called (6268b62)

5.5.0 (2018-02-14)

Features

  • config: introduce shouldRerty config option (pull/878)

5.4.1 (2018-02-12)

Bug Fixes

  • ignoreElements fail if outside viewport (0f8b2c7)

5.4.0 (2018-02-04)

Features

  • stats: move part of the logic to the gemini-core (99e7e0c)

5.3.0 (2018-01-30)

Features

  • introduce option to specify delay before a screenshot is made (ec52a5e)
  • use new versions of glob-extra and gemini-coverage (74ae6bf)

5.2.1 (2018-01-14)

Bug Fixes

  • update gemini-core to 2.3.2 (d74403d)

5.2.0 (2018-01-12)

Features

  • calibrator: move to gemini-core (fc87b21)
  • new-browser: change default value for resetZoom (5006927)

5.1.2 (2017-12-20)

Bug Fixes

  • coverage: support webpack sourcemaps format (1794e13)

5.1.1 (2017-12-07)

Bug Fixes

  • allow unknown options before parsing config file (98a5d5f)

5.1.0 (2017-12-06)

Features

  • allow to extend cli parser via CLI event (81fb51f)

5.0.1 (2017-12-05)

Bug Fixes

  • validate timeout type in wait element actions (007a836)

5.0.0 (2017-12-01)

Bug Fixes

  • Fixed not checking if dragTo is a valid element (13566a1)

Features

  • emit async INIT event instead of async plugins load (b21aa58)
  • remove backwards compatibility for passing grep to readTests (ed4ece5)
  • remove bluebird-q compatibility layer (7844620)
  • remove deprecated BEGIN_SESSION and END_SESSION events (2c22d1d)
  • remove deprecated CAPTURE event (d06a913)
  • remove deprecated END_TEST event (9c7c8e2)
  • remove deprecated WARNING event (c906b1f)
  • remove q-promise-utils (67b3682)

5.0.0-alpha.12 (2017-11-02)

Bug Fixes

5.0.0-alpha.11 (2017-11-01)

Features

  • AFTER_TESTS_READ event with suite tree (c67b644)
  • wait for plugins load (340286f)

5.0.0-alpha.10 (2017-10-31)

5.0.0-alpha.9 (2017-10-19)

Bug Fixes

  • errors: stacktraces of custom errors should include error message (63eb59b)
  • pass current image path to reference image error (968fe9a)

Features

5.0.0-alpha.8 (2017-08-31)

Bug Fixes

  • errors: stacktraces of custom errors should include error message (63eb59b)
  • pass current image path to reference image error (968fe9a)

5.0.0-alpha.7 (2017-08-28)

5.0.0-alpha.6 (2017-08-02)

5.0.0-alpha.5 (2017-07-11)

Bug Fixes

  • tests statistic should listen events on main runner (e676c3a)

5.0.0-alpha.4 (2017-07-04)

Bug Fixes

  • incorrect .js config resolving (db6b539)

Features

  • add method 'shouldSkip(browserId)' to suite instance (bad551c)
  • provide the ability to modify retries count from plugins (deafd55)

5.0.0-alpha.3 (2017-06-08)

5.0.0-alpha.2 (2017-06-06)

Bug Fixes

  • bug with count of failed tests in the statistic (ef550c5)

5.0.0-alpha.0 (2017-05-25)

Features

  • make setUrl work like url.resolve (dcf6f17)

4.19.3 (2017-05-03)

Performance Improvements

  • lazy load of images in HTML report for retries (754368a)

4.19.2 (2017-03-27)

Bug Fixes

  • enable correct suite through suite collection api (60c1147)

4.19.1 (2017-02-15)

Bug Fixes

  • method "fullUrl" should resolve url in runtime (e796dce)
  • Prevented EMFILE error (too many open files) (e8e4dca)

4.19.0 (2017-02-10)

Features

  • Pass suiteCollection on BEGIN event to allow to modify it (7d04923)

4.18.2 (2017-02-02)

Bug Fixes

  • prevent endless loop when suitesPerSession is set to infinity (2b399b6)

4.18.1 (2017-01-25)

Bug Fixes

  • Make clickable reason-links for skipped results in html report (d266665)

4.18.0 (2017-01-23)

Features

  • add method 'gemini.ctx' to tests API (66f2aa6)

4.17.1 (2017-01-18)

Bug Fixes

  • roll back striptags version without breaking changes (cd4e26e)

4.17.0 (2017-01-16)

Features

  • Add test filename to html report's metaInfo section (0311f6d)

4.16.0 (2016-12-23)

Bug Fixes

  • log a path to an HTML report after tests finish (86a8466)
  • set default reporter for command 'update' (feb72bc)

Features

  • Add extended WebDriver error data in output (73a26ed)

4.15.0 (2016-12-21)

Features

  • Allow to ignore every element, matching selector (c36ed78)
  • html-reporter: add ability to specify output path for each report (b25409e)

4.14.4 (2016-12-12)

Bug Fixes

  • correct implementation of doubleClick action (f8746a9)
  • emit browser start/stop events in correct places (e8a427e)
  • IE9 does not include pseudo-element styles (906988b)
  • Remove session id console output for skipped tests (6aa92e1)

4.14.3 (2016-12-05)

Bug Fixes

  • correct implementation of doubleClick action (f8746a9)

4.14.2 (2016-11-24)

Bug Fixes

  • emit browser start/stop events in correct places (e8a427e)
  • IE9 does not include pseudo-element styles (906988b)

4.14.1 (2016-11-22)

Bug Fixes

  • fix invalid urls to reference images (85a426d)
  • fix invalid urls to reference images (ed2ac15)
  • remove polyfill-service dependency (364bcbf), closes #673 #635

4.14.0 (2016-11-16)

Bug Fixes

  • documentation: update information about using gemini options (251329b)
  • correct exit on 'SIGHUP', 'SIGINT' or 'SIGTERM' (1f0ffbe)
  • Implement advanced verification for suites with same names (2572af5)

Features

  • html-reporter: add ability to copy suite name and open suite urls (6219b74)

Performance Improvements

  • Use reference images instead of actual(current) in HTML report (ef198bc)

4.13.4 (2016-11-07)

Bug Fixes

  • config: throw error if value contain not valid json string (60cc4f0)
  • config: use JSON.parse for plugins values from cli/env (6039fd1)

4.13.3 (2016-11-03)

Bug Fixes

  • glob-extra: replace isMasks to isMask (830be2e)
  • html-reporter: don't store ref when it equal with current image (3183c21)
  • test: improve some tests (c56bdcb)

4.13.2 (2016-10-26)

Bug Fixes

  • glob-extra: replace isMasks to isMask (830be2e)
  • test: improve some tests (c56bdcb)

4.13.1 (2016-10-25)

Bug Fixes

  • do not show skipped tests in retries (799dc80)

4.13.0 (2016-10-19)

Features

  • cli: Add command 'list' to show list of browsers or sets from config (b5e4b4a)
  • Implement readRawConfig static API method (b269b0b)
## 4.12.2 - 20160-10-11
  • Fix startRunner and endRunner to correctly wait for promises, returned from plugins.
  • Various fixes related to bluebird migration. All "is not a function" errors now should be gone.
  • Fix assignment to const error in html report.
## 4.12.1 - 2016-10-06
  • Restore 4.10 plugin loading order β€” plugins now loaded before any tests files are read.
  • Internal promises library changed bluebird. This should make gemini a little bit faster.
## 4.12.0 - 2016-10-03
  • Added the ability to specify exclude paths in which the gemini tests will not be searched, see documentation
  • Fixed bug which causes skip errors which might be occur in listeners of START_RUNNER and END_RUNNER events
## 4.11.3 - 2016-09-29
  • Second attempt of fixing order of file read events
## 4.11.2 - 2016-09-27
  • Fixed bug which causes emitting beforeFileRead after the file has already been read in GeminiFacade
## 4.11.1 - 2016-09-26

Identical to 4.11, published by mistake

## 4.11.0 - 2016-09-23
  • Do not delay retry failed tests until all tests finish. Retry ASAP
  • Added events field for gemini instance in plugins, see documentation for more details.
  • Updated Quick start section in documentation
## 4.10.0 - 2016-09-19
  • Lodash updated to v4.x
  • Clone suite tree for each browser runner
  • Use catch method instead of fail in q
## 4.9.4 - 2016-09-13
  • Fixed Out of the bounds error (see #543)
## 4.9.2 - 2016-09-09
  • Updated third party libraries, so Array.prototype methods won't be overwritten anymore
## 4.9.1 - 2016-09-05
  • Fixed abort of the broken session on test error
  • Fixed incorrect creation of set with empty files
  • Updated version of glob-extra
## 4.9.0 - 2016-09-01
  • Close browser session after error in a test
  • Set left button as default for mouse button actions
  • Fixed wrong validation of grep option from cli
## 4.8.0 - 2016-08-30
  • Fixed bug which causes Cannot find files by mask gemini error if sets in config are not specified (see #569)
  • Fixed bug which causes /null url in meta-info
  • Displaying the number of updated images via command gemini update in flat reporter
## 4.7.2 - 2016-08-26
  • Correctly display the images in the html report in case suite names contain non-urlsafe characters.
## 4.7.1 - 2016-08-25
  • Fixed critical bug which causes failing of browser requests
## 4.7.0 - 2016-08-25
  • beforeFileRead and afterFileRead API events were added. This allows plugins to be notified when gemini is about to read a test file and when it was read
  • CAPTURE and END_TEST events were declared as deprecated. UPDATE_RESULT and TEST_RESULT events should be used instead of them respectively
  • Added the ability to see in flat reporter which states were really updated via gemini update command
  • Added sessionQuitTimeout option which allows to change timeout for session termination
  • Disallowed usage of empty names for suites
  • Added nodejs@6.x support
## 4.6.0 - 2016-08-11
  • Added GEMINI_SKIP_BROWSERS environment variable support
  • Added the ability to log config for each browser using DEBUG=gemini:config environment variable
  • Fix: escape special symbols in HTML report
  • Fix: correct displaying of test url in meta-info of an HTML report
## 4.5.0 - 2016-08-05
  • Retry only failed states on fail instead of all states of the suite
  • Add ability to set file masks for test paths in a sets option
  • Add ability to implement custom source path resolving for CSS files in coverage
  • Fix: keep original stack when cloning error
## 4.4.4 - 2016-07-27
  • Revert code changes made for version 4.4.3
## 4.4.3 - 2016-07-26
  • Fix bug with resolving source paths in gemini coverage module
## 4.4.2 - 2016-07-20
  • Fixed retry of individual states (error with 'isCoverageEnabled on undefined')
  • Support changeOrientation for appium below 1.5.x
  • Back to upstream of uglify-js
## 4.4.1 - 2016-07-18
  • Froze uglify-js version at v2.6.4
  • Fixed bug with suites per browser limit
  • Fixed ignoring of a caret for devices with pixel ratio different from 1
  • Output path to html report to a console
  • Updated version of looks-same dependency to 3.0.0
## 4.4.0 - 2016-06-17
  • Added option compositeImage which allows to test areas with height larger than viewport one, see documentation for more details.
  • Capture a viewport instead of a full page for all browsers. ⚠️ Tests in firefox will fail after updating to this version if you test areas which bottom bounds are outside of a viewport height.
  • Removed the hack for IE browsers related with two-step movement to (0, 0) on browser reset.
  • Fix: do not fail test if a hidden element was added to method ignoreElements.
  • Fix displaying of retries in HTML report after adding of sessionId in meta-info of HTML reporter.
## 4.3.0 - 2016-06-02
  • Added new browser option screenshotMode which allows to set an image capture mode, see the documentation for more details.
  • Added new action changeOrientation to tests API which allows to change orientation on touch enabled device, see the documentation for more details.
  • Supported displaying of sessionId in meta-info of HTML reporter.
  • Fix: do not emit an error if browser.quit fails, warning will be logged.
  • Fix: support passing of sessionId to an error if launching of a browser fails.
## 4.2.0 - 2016-05-26
  • Added option sessionRequestTimeout which sets a timeout for getting of browser sessions
## 4.1.0 - 2016-05-20
  • Supported displaying of meta-info in HTML reporter which contains suite/state url
  • Supported displaying of retry reasons in reporters
  • Supported passing of a suite error to all states of this suite
  • Dropped throwing of critical errors in states, this means that a state failure always emits an err event
  • Fix: browser sessions will be freed immediately if there are no states to run instead of waiting for the end of all remaining running states in other browser sessions
## 4.0.4 - 2016-04-29
  • Fix: use top level windowSize
  • Fix error object instance after serializing
## 4.0.3 - 2016-04-26
  • Fix image processing: use pixel ratio in subprocesses
## 4.0.2 - 2016-04-25
  • Fix failed suites count in summary line
  • Throw error on image validation fail
  • Show page screenshot on image validation error
## 4.0.1 - 2016-04-20
  • Fix documentation
  • Fix: require default config by absolute path
## 4.0.0 - 2016-04-20
  • Fixed hang in browser pool queue when using parallelLimit option
  • Image processing moved to workers (test speed increased, memory usage decreased)
  • Added ability to set tempDir option from cli
  • Do not retry failed test if it hasn't reference image

BREAKING CHANGES:

  • Do not support node lower than 4.0
  • Changed suite declaration. You don't need now to require gemini for each suite file
  • Removed gather command. Use update command instead
  • Now error data will be extended with path to image instead of image itself: error.image => error.imagePath
## 3.0.2 - 2016-03-30
  • Fix: Child suite context should have same data as parent has (@j0tunn)
## 3.0.1 - 2016-03-24
  • Fixed element find caching (@j0tunn)
## 3.0.0 - 2016-03-23
  • Fixed CLIENT_STOPPED_SESSION bug when performing setWindowSize in post actions (@j0tunn)
  • Suite.browsers: ability to set browsers, in which suite should be run (@egavr)
  • Added ability to use .js/.json config files (@j0tunn)
  • Android support:
    • Do zoom reset after page load instead of before screenshot (@SwinX)
    • Fixed calibration for android emulators (@SwinX)
    • Fixed image crop for big pixelRatio (@SwinX)
  • Enable uncaughtException logging (@SwinX)
  • Fix coverage (@benedfit):
    • pass in all original options when processing media rules
    • check length of selector after pseudo-elements have been removed

BREAKING CHANGES:

  • Removed skip method for actions (@j0tunn)
  • Accumulate "before" and "after" actions for nested suites (@j0tunn)
## 2.1.1 - 2016-01-27
  • Fix: specified name for NoRefImageError (@SwinX)
## 2.1.0 - 2016-01-25
  • Fixed bug in enable/disable logic in suite collection - may not work properly when disabling all suites and enabling only some states in specific suite (@j0tunn)
  • Added possibility to enable/disable suites by full name (@j0tunn)
  • Added possibility to specify grep condition for readTests API method (@SwinX)
## 2.0.3 - 2015-12-23
  • Fix update command called without any options (@sipayRT)
  • Limited pool fix: push defer queue if failed to free browser (@j0tunn)
  • Add editor files to the .npmignore (@j0tunn)
## 2.0.0 - 2015-12-19
  • gemini update command: ability to update only new and changed references (@sipayRT)
  • SuiteCollection: new API to run separate suites and states (@j0tunn)
  • Fix: free browser when reset failed (@j0tunn)
  • Fix: provide image for errors during actions chain execution (@leonsabr)
  • Run heavy operations in separate processes (@j0tunn)
  • Force quit on second Ctrl+C (@j0tunn)
  • Do not get browser session for suites without states (@j0tunn)
  • Do not get browser session and do not perform any pre-actions for skipped suite (@j0tunn)

BREAKING CHANGES:

  • New skip method API (@leonsabr)
    • Browser now can be specified only by browser id matcher (string or RegExp)
    • skip now accepts optional second parameter - reason, which will be displayed in reporters
  • Deprecated options removed: strictComparison, referenceImageAbsence (@SevInf, @j0tunn)
  • Deprecated API method gemini.buildDiff removed (@j0tunn)
  • Russian documentation removed (@j0tunn)
  • gemini.readTests now returns SuiteCollection instance instead of rootSuite object (@j0tunn)
  • gemini gather deprecated in favor of gemini update (@sipayRT)
## 1.1.6 - 2015-12-04
  • Remove restirction for maximum open concurrent sockets (@j0tunn)
## 1.1.5 - 2015-12-03
  • Show reference image if test failed due to lack of it (@sipayrt)
  • Fixed result in HTML report for sibling states appear several times on retry (@SwinX)
## 1.1.4 - 2015-11-27
  • Fix: in LimitedPool next browser request will be triggered if failed to receive browser from underlying pool (@SwinX)
## 1.1.3 - 2015-11-25
  • Implemented TestCounter class for reporters (@SwinX)
  • Fixed undefined session id in vflat reporter (@SwinX)
  • Immediately quit browser if failed to create it (@SwinX)
## 1.1.2 - 2015-11-20
  • Fix: wrong initial-scale meta data (@sipayrt)
  • Fix: build crashed on 'gather' command (@SwinX)
## 1.1.1 - 2015-11-18
  • Fix: html reporter correctly handles error event if no data about state passed
## 1.1.0 - 2015-11-18
  • Implemented suite retry on compare diff and critical errors (@SwinX)
  • Only maximize PhantomJS browser if windowSize is not configured (@davidchin)
  • Allow tests to skip by browser id (@davidchin)
  • Do not fail tests on error from grid-side (@sipayrt)
  • Fix: run 'afterHook' if some state failed (@j0tunn)
  • Fix: run 'postActions' if state or 'afterHook' failed (@j0tunn)
  • Fix: free browser after cancel (@j0tunn)
  • Fix: keep original error if 'afterHook' or 'postActions' failed (@j0tunn)
## 1.0.6 - 2015-11-06
  • Show error message + whole page screenshot on test fail (@sipayrt)
  • Fix: clean browsers pool after finalization (@SwinX)
  • Fix: check for global window variable on client-side (@eroshinev)
## 1.0.5 - 2015-11-03
  • Do not fail tests if browsers specified from env does not exists in config (@sipayrt)
## 1.0.4 - 2015-10-13
  • Fix counting of skipped test by flat reporter (@sipayrt)
  • Pass sessionId on events for correctly TC work (@sipayrt)
## 1.0.3 - 2015-10-12
  • Fix: return correct exit code on test failing (@sipayrt)
## 1.0.2 - 2015-10-12
  • Fix handling of END_RUNNER event (@sipayrt)
## 1.0.1 - 2015-10-08
  • Fix: END_RUNNER event delivered to plugins in case of critical error (@SwinX)
  • Fix: make screenshot after prepareScreenshot() has been executed (@sipayrt)
  • Remove spaces from env GEMINI_BROWSERS (@sipayrt)
## 1.0.0 - 2015-10-05
  • Add Android support (@SevInf)

  • Fix: return same config object for each config.forBrowser request (@j0tunn)

  • Fix "undefined" output instead of browser name in the flat reporter (@scf2k)

  • Show current image for tests which have no reference images (@hatroman)

  • Screenshot whole page when gemini can't find a selector (@scf2k)

  • Add retry option. See docs (@sipayrt)

  • Fix: fire END_SUITE event when nested suites are done (@scf2k)

## 0.13.5 - 2015-09-09
0