Update dependency nightwatch to v2.6.3
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
nightwatch (source) | devDependencies | minor | 2.3.3 -> 2.6.3 |
Release Notes
nightwatchjs/nightwatch
v2.6.3
-
Fixed #3489
lodash
dependency issue on windows
v2.6.2
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
- 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
-
Added
.within(<selector>)
command which adds support for querying within elements
v2.5.4
- Fixed #3478 click fix for iOS native app (#3481)
- Fixed #3387 Remove event listeners on command completion (#3416)
v2.5.3
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
- 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
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
v2.4.1
- Fixed an issue resulting from await-ing test hooks properly in some cases 4f6c31
v2.4.0
New features
The v2.4.0 release brings improved support for Component Testing, which includes:
-
@nightwatch/storybook
- new official plugin which integrates Nightwatch with Storybook
- adds ability to run component stories directly from Nightwatch, including:
- interaction tests using the
play()
function - run test hooks in the Nightwatch context
- run
test()
function in the Nightwatch context - run configured accessibility rules automatically using the
axe-core
suite of commands
- interaction tests using the
-
vite-plugin-nightwatch
- upgraded plugin to use Vite 3
-
@nightwatch/vue
- new dedicated Vue.js component testing plugin which includes Vite 3 and manages its own Vite dev server
-
@nightwatch/react
- added support for writing component tests using the Component Story Format which supports
JSX
directly
- added support for writing component tests using the Component Story Format which supports
New CLI flags
-
--serial
to run tests in serial mode (disable parallelism) -
--workers
to specify the number of test workers to be used when running tests in parallel -
--reuse-browser
to reuse the browser session if running in serial mode
component testing related
-
--debug
– automatically pause the test execution after mounting the component and open the Nightwatch debug REPL interface. -
--story
- allows to specify which story to run from the current file (when using Storybook or JSX written in component story format) -
--preview
- used to preview a component story/test; automatically pause the test execution after mounting the component.
Other Improvements
-
Added support to use
--devtools
CLI flag in Edge and Safari to open the Dev Tools automatically - Added support to enable running tests in parallel by default if not set MR #3364
-
Added support for using
nightwatch.conf.ts
as config file and a few other improvements for running typescript tests MR #3316
Fixes
-
Fixed #3404 an issue with the
moveTo
command -
Fixed #3256
.verify
assertions do not resolve when called from within the.perform()
command
v2.3.9
Minor update for the axe-nightwatch-verbose
dependency.
v2.3.8
-
Fixed #3396 showing version using the
--version
cli flag -
Fixed #3336 an issue with using
browser.resizeWindow()
v2.3.7
Fixed #3355 – updating the build name using client.updateCapabilities did not work
v2.3.6
-
Added
nightwatch-axe-verbose
as a bundled dependency to enable accessibility testing out of the box #3389
v2.3.5
- Added new CLI flag ``--report-filename` to specify the report file name for the JSON reporter d73a6f
-
Fixed #3361 --
expect.cookie
always returning undefined value -
Fixed an issue where the error thrown for using incorrect arguments for element commands was not reported if using
async
/await
testcase e9e38c - Fixed #3372 -- chaining custom commands from page objects when imported through plugins interface
- Added analytics feature to collect anonymous user metrics (opt in only) MR #3141
v2.3.4
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.