Skip to content

Releases: nightwatchjs/nightwatch

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.

v0.5.31

13 Oct 21:36
Compare
Choose a tag to compare
  • Added perform command which allows adding arbitrary code to the queue

v0.5.30

13 Oct 21:39
Compare
Choose a tag to compare
  • Added beforeEach / afterEach global hooks to run code before and after each test suite (file). These are specified in the file loaded using the globals_path setting in nightwatch.json. They may be synchronous or asynchronous.
  • Added prettier formatting of elapsed time #286

v0.5.28

22 Sep 21:48
Compare
Choose a tag to compare
  • Fixed #277 - test runner issue with parallel mode and globals

v0.5.27

22 Sep 19:54
Compare
Choose a tag to compare
  • Fixed #267 - getValue command not working