Releases: nightwatchjs/nightwatch
Releases · nightwatchjs/nightwatch
v2.6.3
v2.6.1
- 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
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
v2.5.5
- Added
.within(<selector>)
command which adds support for querying within elements
v2.5.4
v2.5.2
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
v2.5.0
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)
- end to end setup required to run tests on Mobile web using the
-
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 tobrowser.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
v2.4.2
- Added an improvement for error messages shown when running React component tests
- Fixed
--open
cli argument wasn't working properly #3459 - Added support for launching the local web server for component testing from the android emulator #3460
- Fixed an issue with displaying the http output in the HTML reporter when running tests in parallel 3462