Skip to content

Releases: nightwatchjs/nightwatch

v0.6.6

24 Apr 20:02
Compare
Choose a tag to compare
  • Fixed - a minor issue where disabled_colors value wasn't always taken into account
  • Fixed - #368 WaitForElement commands polling producing HTTP errors until the element was found - updated waitForElement commands to use .elements instead of .element which is not throwing errors but an empty array

v0.6.5

24 Apr 12:36
Compare
Choose a tag to compare
  • Added - option end_session_on_fail to control automatic termination of the Selenium session when there are failures
  • Added - exposed results object on the client.currentTest
  • Added - option to retry failed assertions: retryAssertionTimeout - #407
  • Fixed - .sessions command was pointing to .session - #287
  • Added - POST action support to .session

v0.6.4

16 Apr 20:49
Compare
Choose a tag to compare
  • Fixed currentTest on api - previously client.api.currentTest.name was an empty string, this fix sets it for each test before running beforeEach
  • Fixed - environment-specific selenium settings were not applied in some cases - #411

v0.6.3

10 Apr 20:38
Compare
Choose a tag to compare
  • Fixed an issue with logging of deprecation notice resulting in a TypeError

v0.6.2

10 Apr 19:22
Compare
Choose a tag to compare
  • Fixed a problem with reading a hook method name resulting in a TypeError.

v0.6.1

07 Apr 20:46
Compare
Choose a tag to compare
  • Fixed a problem where errors during the tests were swolen in some cases

v0.6.0

03 Apr 22:21
Compare
Choose a tag to compare

Nightwatch v0.6

New features

  • Unit testing - write unit or integration tests in Nightwatch for Node.js applications and APIs;
  • Custom reporters - add your own reporter via the --reporter option;
  • Integrated Grunt support - Nightwatch is bundled with an easy to use Grunt task which can be used in your existing Grunt-based build configuration;
  • Run single testcase - ability to run the specified testcase from the current suite/module via --testcase;
  • Page Objects - documented support for page objects model;

Enhancements

  • Added support for declaring environment specific cli_args - #334
  • Added support for passing the client object as argument to global beforeEach and afterEach
  • Added support for always logging selenium server errors
  • Added log functionality exposed through Selenium

Important fixes

  • Fixed JUnit xml reports #191
  • Fixed exclude and filter options when with multiple src_folders #370

v0.5.34

22 Nov 14:50
Compare
Choose a tag to compare
  • Added - global disable_colors property
  • Added - parallel_process_delay property to specify the delay between starting child processes

v0.5.33

06 Nov 22:35
Compare
Choose a tag to compare
  • Fixed #302 - waitFor-family functions with no timeout param silently error
  • Fixed #299 - multiple folder support in src_folders

v0.5.32

26 Oct 20:39
Compare
Choose a tag to compare
  • Added support for a global test results reporter function defined in the globals module configured in globals_path in nightwatch.json. A function defined under the reporter key in the globals module is called after all tests finish with the nightwatch internal results object as an argument (as seen in examples/globalsModule.js). It may be asynchronous, with a 'done' callback as the reporter's second argument.