v2.6.19

Mar 23, 2023

  • Fixed #3484 – Added elementId only param in moveTo command
  • Fixed #3652 – Command queue nodes with autoInvoke mode were executed twice
  • Fixed #3469 REPL interface exits on error
  • Fixed #3591 - added support to stringify objects in console output

v3.0.0 - Alpha 2

Mar 14, 2023

What's Changed

Full Changelog: https://github.com/nightwatchjs/nightwatch/compare/v2.6.16...v3.0.0-alpha.2

v2.6.18

Mar 14, 2023

What's Changed

No changes, just a version bump after the alpha.

Full Changelog: https://github.com/nightwatchjs/nightwatch/compare/v2.6.17...v2.6.18

v2.6.17

Mar 10, 2023

What's Changed

  • Fixed #3612 -- Add session name to Browserstack transport by @gravityvi in #3632
  • Added support to use any browser with BrowserStack and Appium. by @garg3133 in #3634

Full Changelog: https://github.com/nightwatchjs/nightwatch/compare/v2.6.16...v2.6.17

v2.6.16

Mar 1, 2023

What's Changed

  • Add 'app' in REPL context. by @garg3133 in #3607
  • Fix #3466 Wait for queue traversal to begin before calling done() by @swrdfish in #3490
  • removed boxen from concurrent test runs by @qa-danny in #3616
  • Update logging output to use JSON instead of Logger.inspectObject by @vaibhavsingh97 in #3619
  • Add support for Appium locate strategies. by @garg3133 in #3620
  • Fixes/consider test suite settings in cucumber runner by @gravityvi in #3622
  • Allow multiple network mocks at the same time. by @garg3133 in #3621
  • Fix analytics issue by @swrdfish in #3447
  • api-docs: update registerBasicAuth by @tim-yao in #3623
  • Disable parallelism when running tests on safari browser by @prudhvi22 in #3565

New Contributors

Full Changelog: https://github.com/nightwatchjs/nightwatch/compare/v2.6.15...v2.6.16

v2.6.15

Feb 19, 2023

  • Fixed #3574 – using end_session_on_fail regression
  • Fixed #3605 – when running in multiple environments, json and junit reporters generate report for only one environment

v2.6.14

Feb 12, 2023

  • Added global app property for using in native mobile app tests #3549
  • Added support to automatically upload the native mobile app to Browserstack AppAutomate service #3573
  • Added support for reading named exports from ESM files 2498fe
  • Added cli argument shortcuts for browser environments (--chrome, --firefox, --safari, --edge) 4cd9a8
  • Fixed visible commands for testing using Appium #3566

Full Changelog: https://github.com/nightwatchjs/nightwatch/compare/v2.6.13...v2.6.14

v2.6.13

Feb 4, 2023

  • Fixed #3181 – waitForElementNotPresent inside section for the section element to be gone
  • Fixed #3455 – CDP does not reset the connection after a test session ends

v2.6.11

Jan 30, 2023

  • Fixed headless mode in chrome (#3581)
  • Fixed loading test files in ESM format on Windows #3585
  • Fixed unhandled promise rejection for wait element commands #3570
  • Added support for writing global test hooks using async/await and without a callback – 286aca

v2.6.8

Jan 9, 2023

v2.6.7

Jan 9, 2023

Full Changelog: https://github.com/nightwatchjs/nightwatch/compare/v2.6.6...v2.6.7

v2.6.6

Jan 4, 2023

  • Fixed #3531 – cannot use axeRun in async/await format

Full Changelog: https://github.com/nightwatchjs/nightwatch/compare/v2.6.5...v2.6.6

v2.6.5

Jan 4, 2023

  • Fixed #3422 – using .pause(0) command
  • Fixed an issue with global expect() assertions bfc2be

Full Changelog: https://github.com/nightwatchjs/nightwatch/compare/v2.6.4...v2.6.5

v2.6.4

Jan 2, 2023

  • Fixed #3538 – an issue with output logging for api testing

v2.6.3

Dec 29, 2022

  • Fixed #3489 lodash dependency issue on windows

v2.6.1

Dec 28, 2022

  • 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

Dec 23, 2022

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

Dec 23, 2022

  • Added .within(<selector>) command which adds support for querying within elements

v2.5.4

Dec 9, 2022

  • Fixed #3478 click fix for iOS native app (#3481)
  • Fixed #3387 Remove event listeners on command completion (#3416)

v2.5.2

Nov 27, 2022

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

All releases