0.13.0 Final
Changes from beta:
- Fail when removed option is detected and warn if removed env var is detected
(@SevInf). - Reports now always will be generated, even when there is a critical error
(@zumra6a). - Correctly cancel queued tests after critical error (@SevInf).
- Produce more debug information in various modules (@SevInf).
- In case of a critical error, try to print what test was executed when it
happened (@SevInf). - Corrected updates (@maximerassi).
Changes from 0.12.x:
-
BREAKING CHANGE: new config format. See docs.
New config allows to set many previously global options on per-browser
basis. The following things have changed in this config:-
rootUrl,gridUrl,tolerance,strictComparison,screenshotsDir,
windowSizeoptions can now be set separately for each browser:gridUrl: http://grid.example.com browsers: firefox: # Uses gridUrl from top level desiredCapabilities: ... chrome: # Overrides top-level value gridUrl: http://chrome.example.com desiredCapabilities: ...
-
projectRoot,sourceRoot,plugins,debug,parallelLimit,
diffColor,referenceImageAbsenceare moved intosystemsection and
can not be set per-browser.system: debug: true diffColor: #ff0000 plugins: teamcity: true ...
-
browsersare no longer default tophantomjs. If you've used this
default, set up the browser explicitly:browsers: phantomjs: desiredCapabilities: browserName: phantomjs
-
coverage settings are now grouped under
system.coveragesection:- to enable coverage, set
system.coverage.enabledto true. coverageExcludeis moved tosystem.coverage.exclude.coverageNoHtmlis replaced bysystem.coverage.html. Set it to false
to disable html report generaion.
- to enable coverage, set
-
--noCalibratecustom capability is replaced bycalibrateoption which
can be set for every or any particular browser. -
browser capabilites are set in
desiredCapabilitesoption.browsers: chrome: desiredCapabilities: browserName: 'chrome', version: '45'
-
top-level
capabilitiesoption is replaced bydesiredCapabilites
option. -
httpsettings are removed. Use new optionhttpTimeoutto set timeout.
Setting retires is no longer possible. -
sessionModeis replaced by more flexiblesuitesPerSessionsetting (see
below).
-
-
The way config options are overriden by CLI flags and environment variables
are now unified (option path is converted to--option-pathfor cli and
gemini_option_pathfor environment variables). Due to this change, some
old flags and environment variables won't work:--sorce-rootandGEMINI_SOURCE_ROOTbecomes--system-source-rootand
gemini_system_source_rootrespectively.--debugandGEMINI_DEBUGbecomes--system-debug=trueand
gemini_system_debugrespectively.--coverageandGEMINI_COVERAGEbecomes
--system-coverage-enabled=trueandgemini_system_coverage_enabled
respecitvely.--coverage-no-htmlandGEMINI_COVERAGE_NO_HTMLbecomes
--system-coverage-html=falseandgemini_system_coverage_html
respectively.GEMINI_ROOT_URLbecomesgemini_root_url.GEMINI_GRID_URLbecomesgemini_grid_url.GEMINI_SCREENSHOTS_DIRbecomesgemini_screenshots_dir.GEMINI_WINDOW_SIZEbecomesgemini_window_size.
-
API:
Geminiconstuctor does not accepts overrides object anymore. -
sessionModeis replaced bysuitesPerSessionoption which specifies
number of test suites to run in a single WebDriver session. Value of.inf
is equivalent toperBrowsersession mode and value of1is equivalent to
perSuite. This option can be set globally or separately for each browser. -
New option
sessionsPerBrowserallows to launch multiple session for each
browser and run tests in parallel.