Releases: nightwatchjs/nightwatch
Releases · nightwatchjs/nightwatch
v0.9.0
Nightwatch v0.9
New features
- Improved unit testing support - improved support for running unit tests with Nightwatch has been significantly improved (available behind the
compatible_testcase_support
setting); unit tests are also compatible with Mocha's exports interface and all the Nightwatch unit tests have been rewritten in this format. More details: http://nightwatchjs.org/guide#unit-testing - Improved output for parallel running - test output when running tests in parallel has been improved to be more readable and by setting
detailed_output
tofalse
it will be even easier to follow. - Specify multiple test sources - it is now possible to directly specify several test files or folders as arguments to the cli runner. More details: http://local.nightwatchjs.org/guide#running-tests
Enhancements
- Added support for requiring subdirectories in page object path.
- Added support for passing multiple group names.
- Added
detailed_output
option to support showing only the testcase names in the log without assertion info
Important fixes
v0.8.18
- Added
windowPosition
protocol action andsetWindowPosition
command - Added support to persist globals between testsuites via the
persist_globals
setting - Fixed an issue where globals weren't properly merged when overwritting properties on deep levels
- Added support for page objects elements property to accept an array
v0.8.16
- Added support to fail the test when an exception is thrown in a global hook by passing the error message to the
done
callback; - Added new
props
object on the page object which can hold various properties; ifprops
is a function, it is with the page as its context. - Added error messages to the results object as the
errmessages
array.
v0.8.15
- Fixed "maxBuffer exceeded" error when running tests in parallel if the standard output exceeds 200Kb.
v0.8.14
v0.8.13
- Added
asyncHookTimeout
global property for controlling the timeout for async hooks; if thedone
callback is not invoked within the set time in milliseconds an error is thrown.
v0.8.12
- Added support for exiting with non-zero code on failures when using mocha as test runner.