github nightwatchjs/nightwatch v2.0.8

latest releases: v3.6.1, v3.6.0, v3.5.0...
2 years ago

This releases adds a few important fixes and improvements. We have made sure that Nightwatch works very well when using the Selenium 4 server in standalone mode and we've added several improvements and fixes for when using Mocha as a test runner.

Users of Selenium Server can now install our own jar download library from NPM and then use it in Nightwatch with no other config necessary. Make sure that chromedriver or geckodriver are also installed from NPM. You can install the Selenium Server with:

npm i @nightwatch/selenium-server

Fixes

  • Fixed #3054 – default port was not updated for some commands when running in parallel mode
  • Fixed #3052 – Running Nightwatch with Selenium Server 4 in standalone mode
  • Fixed #3055 – Missing error message in case of overwriting an existing command
  • Fixed #3050 – required definition of package.json in current directory
  • Fixed #3075 - an unhandledRejection was occurring when assertion fails while in async mode and if followed by other chained assertions
  • Fixed #3074 - chrome CDP commands loading was throwing an error

Improvements

  • Added support to start/stop Selenium Server separately when in parallel mode (282e269)
  • Added several improvements for child process output formatting when running in parallel mode with test workers
  • Added support to specify test workers count in the cli as --parallel=<number of workers>

Don't miss a new nightwatch release

NewReleases is sending notifications on new releases.