Skip to content

Releases: nightwatchjs/nightwatch

v0.9.0

24 May 21:02
Compare
Choose a tag to compare

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 to false 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

  • Fixed #924 Not possible to create custom assertion with no arguments
  • Fixed #873 junit report does not include the failed assertion information
  • Fixed an issue with elementNotPresent occurring in Edge

v0.8.18

09 Mar 23:00
Compare
Choose a tag to compare
  • Added windowPosition protocol action and setWindowPosition 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

04 Feb 23:30
Compare
Choose a tag to compare
  • 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; if props 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

05 Jan 20:18
Compare
Choose a tag to compare
  • Fixed "maxBuffer exceeded" error when running tests in parallel if the standard output exceeds 200Kb.

v0.8.14

02 Jan 21:54
Compare
Choose a tag to compare
  • Fixed #710 - Added support for using both --tag and --skiptags options together;
  • Fixed #745 - In some cases the command queue wasn't cleared properly (when an sync assertion fails, e.g. assert.ok()).

v0.8.13

01 Jan 10:59
Compare
Choose a tag to compare
  • Added asyncHookTimeout global property for controlling the timeout for async hooks; if the done callback is not invoked within the set time in milliseconds an error is thrown.

v0.8.12

29 Dec 20:58
Compare
Choose a tag to compare
  • Added support for exiting with non-zero code on failures when using mocha as test runner.

v0.8.11

27 Dec 23:14
Compare
Choose a tag to compare
  • Fixed #629 - cannot load tests from folder outside the cwd.

v0.8.10

27 Dec 20:23
Compare
Choose a tag to compare
  • Fixed #764 - use custom waitFor timeout value if available when using expect instead of globally defined

v0.8.9

08 Dec 22:16
Compare
Choose a tag to compare
  • Fixed #687 - Stale element reference causes waitForElementVisible to fail.