Skip to content

Releases: nightwatchjs/nightwatch

v2.6.7

09 Jan 22:50
560e71c
Compare
Choose a tag to compare
  • Fixed #3473: browser not defined issue by #3550

  • Fixed issue with reporting module names for parallel runs in #3547

  • Added Appium specific commands:

    • .appium.startActivity
    • .appium.getCurrentActivity
    • .appium.getCurrentPackage
    • .appium.getOrientation
    • .appium.setOrientation
    • .appium.getGeolocation
    • .appium.setGeolocation
    • .appium.pressKeyCode
    • .appium.longPressKeyCode
    • .appium.hideKeyboard
    • .appium.isKeyboardShown
  • Added several improvements for running Appium from Nightwatch:

Full Changelog: v2.6.6...v2.6.7

v2.6.6

04 Jan 19:39
c5d95e1
Compare
Choose a tag to compare
  • Fixed #3531 – cannot use axeRun in async/await format

Full Changelog: v2.6.5...v2.6.6

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