Releases: nightwatchjs/nightwatch
Releases · nightwatchjs/nightwatch
v1.1.1
v1.1.0
This version brings several performance enhancements for interacting with elements and some new features.
Improved element interaction stability
We have improved the mechanism used to interact with elements when using commands like click
or setValue
by adding automatic retries in case the element is not found or if the element reference has become stale. This will improve the overall stability of tests.
Support for ES6 Async functions
You can now use await
operator for retrieving the result of commands such as isVisible
or getValue
.
Please see Using ES6 Async/Await for more details.
New expect Apis
Page Objects Improvements
- Added more properties for object-based element selectors - see guide/#element-properties
- Added support for pseudo-selectors - e.g.
'@searchBar:first-child'
- Added support for using
.elements
with page objects elements - http://nightwatchjs.org/api/elements.html
v1.0.19
Fixes
- Fixed #2004 - failing test generates invalid XML report file;
- Fixed #1993 - External globals are not merged with existing globals
- Fixed #1991 - No tests are run if
--skiptags
is used in a package.json script - Fixed #1987 - can't start tests when directories in
src_folders
contain empty subfolders - Fixed #1861 - global reporter in parallel running mode
- Fixed #1989 - an issue with elementIdValue()
- Fixed #1976 - an issue with using frame(0)
- Fixed #1955 - screenshots attachment path not being added for failed assertions and errors in the JUnit XML report file
Improvements
Added support for passing multiple comma-separated tags as --tag argument which will act as an AND selection #955
Usage:
- AND tags:
--tag this,and,that
- OR tags:
--tag this --tag that
- AND and OR tags combined:
--tag this,and,that --tag something,else
v1.0.18
v1.0.17
v1.0.16
Public release of Nightwatch v1.0
v1.0.15
v1.0.14
v1.0.12
- Fixed #1906 - a problem with setting abortOnFailure
- Fixed #1864 - using Edge with external selenium cloud services
- Fixed #1881 - .click() and .clearValue() when using geckodriver directly
- Added support to load all commands onto page objects
- Added support for proper expanding of page object elements when used on custom commands or custom assertions