Skip to content

Releases: nightwatchjs/nightwatch

v2.6.5

04 Jan 11:18
20e6923
Compare
Choose a tag to compare
  • Fixed #3422 – using .pause(0) command
  • Fixed an issue with global expect() assertions bfc2be

Full Changelog: v2.6.4...v2.6.5

v2.6.4

02 Jan 15:27
cebd7a3
Compare
Choose a tag to compare
  • Fixed #3538 – an issue with output logging for api testing

v2.6.3

29 Dec 11:50
51f567d
Compare
Choose a tag to compare
  • Fixed #3489 lodash dependency issue on windows

v2.6.1

28 Dec 14:56
4d5791f
Compare
Choose a tag to compare
  • fixed an issue with .within() command for component tests
  • fixed an issue with expect.element().value – updated to use the getProperty('value') command;

v2.6.0

23 Dec 11:33
2b6394d
Compare
Choose a tag to compare

New features

  • HTML Reporter V2 - the built-in HTML reporter for Nightwatch has been significantly upgraded and contains:
    • brand new UI with added functionality
    • support for DOM snapshots and built-in trace viewer (using the--trace cli flag)
    • integrated support for displaying reports from visual regression tests (via the official plugin @nightwatch/vrt)

Fixes & improvements

  • Added global before/after test hooks for each test worker process (#3501)
  • Fixed #3495 an unhandled rejection was occurring in some cases when using cucumber as a test runner
  • Fixed #3451 - setGeolocation was not functional in headless mode
  • Fixed #3478 - click() fails for iOS native app testing

v2.5.5

23 Dec 11:17
117675b
Compare
Choose a tag to compare
  • Added .within(<selector>) command which adds support for querying within elements

v2.5.4

09 Dec 09:40
bd4ed0b
Compare
Choose a tag to compare
  • Fixed #3478 click fix for iOS native app (#3481)
  • Fixed #3387 Remove event listeners on command completion (#3416)

v2.5.2

27 Nov 20:16
1c0393f
Compare
Choose a tag to compare

New features

The v2.5.2 release adds API Testing capabilities to Nightwatch with the official plugin @nightwatch/apitesting which enables:

  • Perform API request testing
  • Setup a mock server which enables:
    • Assert on incoming requests
    • Assert on request headers
    • Assert on post data

Other Improvements

  • Added new properties to results object #3494

v2.5.1

16 Nov 17:47
0c52846
Compare
Choose a tag to compare
  • Fixed #3475: an issue with propagating the exit code properly when using the programmatic api
  • Other – upgrade Selenium to 4.6.1

v2.5.0

11 Nov 15:04
4275d9d
Compare
Choose a tag to compare

New features

  • Run tests on Mobile web

    • end to end setup required to run tests on Mobile web using the @nightwatch/mobile-helper
    • test your website/web app on Android (Chrome & Firefox) & iOS (Safari)
  • Nx monorepo integration with the Nx plugin @nightwatch/nx

Improvements

  • Added support for writing globals, page objects, and commands in ESM format c40f86

Fixes

  • Fixed #3440 – socket hang up error when report_network_errors is enabled
  • Fixed #3465 – an issue with using testSuite retries with enable_fail_fast enabled
  • Fixed #3470 – issue with Actions API when passing async callback to browser.perform()

Other

  • Upgraded selenium-webdriver to 4.5.0

Release Walkthrough Video

Mobile Helper, Nx support (monorepos), API Testing and more: Nightwatch Release Walkthrough v2.5.0

Nightwatch Release Walkthrough v2.5.0