chore(deps): update dependency nightwatch to v3 #153
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^1.6.4
->^3.0.0
By merging this PR, the below issues will be automatically resolved and closed:
Release Notes
nightwatchjs/nightwatch (nightwatch)
v3.1.3
Compare Source
What's Changed
.logs
namespaces. https://github.com/nightwatchjs/nightwatch/pull/3796New Contributors
Full Changelog: nightwatchjs/nightwatch@v3.1.2...v3.1.3
v3.1.2
Compare Source
96e1b34
222c603
v3.1.1
Compare Source
v3.1.0
Compare Source
We’re super excited to announce the release of Nightwatch v3. It that has been built around these three pillars:
Developer Experience: The entire experience from getting started, to writing and debugging tests, has been redesigned for speed, stability, and consistent non-flaky results.
Mobile first: Test your web or native, iOS and Android, mobile applications on simulators, real mobile devices or a cloud grid like BrowserStack.
One test automation framework: Run all types of tests from unit, component, and E2E to API, visual, and accessibility with a single framework.
What's Changed
New Features
Fixes
TypeScript Fixes
Dependency Updates
Cucumber
General
src_folders
is empty when using tags by @itsspriyansh in https://github.com/nightwatchjs/nightwatch/pull/3824New Contributors
Full Changelog: nightwatchjs/nightwatch@v3.0.1...v3.1.0
v3.0.1
Compare Source
We’re super excited to announce the release of Nightwatch v3. It that has been built around these three pillars:
Developer Experience: The entire experience from getting started, to writing and debugging tests, has been redesigned for speed, stability, and consistent non-flaky results.
Mobile first: Test your web or native, iOS and Android, mobile applications on simulators, real mobile devices or a cloud grid like BrowserStack.
One test automation framework: Run all types of tests from unit, component, and E2E to API, visual, and accessibility with a single framework.
New features
New element APIs
With Nightwatch v3, we have revamped the element API to make test authoring simpler and more concise. Learn more
More rich & powerful selectors
New selectors are introduced as part of this latest versions
You can also chain selectors to find elements that are more complex to find
For E.g.
Guide
Performance improvements
Nightwatch v3 has implemented worker threads for parallel runs and we have observed improvements of up to 25% between Nightwatch v2 & v3. Try it now
Nightwatch inspector
Nightwatch v3 introduces a point and click tool that can help you easily find selectors. It will improve your productivity of authoring tests & help you find durable selectors for lower long term maintenance. Learn more
Angular component testing
With Nightwatch v3 you can test Angular components in isolation by mounting them in the browser. Try it now
Test doubles
The unit testing with Nightwatch got an upgrade as v3 introduced test doubles. You can use mocks, stubs & spies in your Nightwatch tests.
Fixes
Fix: incorrect build duration in HTML Report by @vaibhavsingh97 in #3658
Fix timeout issue on windows builds. by @garg3133 in #3660
Fix #3484 Added elementId only param in moveTo command by @harshit-bs in #3517
Fix element api support in POM. by @garg3133 in #3689
Fix xPath selectors to locate within elements. by @garg3133 in #3672
Other Improvements
Upgrade selenium to 4.10.0 by @AutomatedTester in #3705
Types migration from definitely typed to Nightwatch project by @beatfactor in #3714
Remove dependency on driver binaries, fallback to selenium-manager by @swrdfish in #3717
Add the ability to rerun failed tests by @prudhvi22 in #3703
Breaking changes
We have tried to ensure that there are no breaking changes while upgrading to v3. However, in case you need migration assistance please reach out to us on our new Nightwatch v3 channel on Discord
v3.0.0
Compare Source
v2.6.25
Compare Source
v2.6.24
Compare Source
v2.6.23
Compare Source
What's Changed
Full Changelog: nightwatchjs/nightwatch@v2.6.22...v2.6.23
v2.6.22
Compare Source
What's Changed
Full Changelog: nightwatchjs/nightwatch@v2.6.21...v2.6.22
v2.6.21
Compare Source
What's Changed
Full Changelog: nightwatchjs/nightwatch@v2.6.20...v2.6.21
v2.6.20
Compare Source
b82b75f
4173ac0
48f488f
a647ee7
5557e5a
98226b8
v2.6.19
Compare Source
moveTo
commandautoInvoke
mode were executed twicev2.6.18
Compare Source
What's Changed
No changes, just a version bump after the alpha.
Full Changelog: nightwatchjs/nightwatch@v2.6.17...v2.6.18
v2.6.17
Compare Source
What's Changed
Full Changelog: nightwatchjs/nightwatch@v2.6.16...v2.6.17
v2.6.16
Compare Source
What's Changed
boxen
from concurrent test runs by @qa-danny in #3616New Contributors
Full Changelog: nightwatchjs/nightwatch@v2.6.15...v2.6.16
v2.6.15
Compare Source
end_session_on_fail
regressionv2.6.14
Compare Source
app
property for using in native mobile app tests #3549--chrome
,--firefox
,--safari
,--edge
) 4cd9a8Full Changelog: nightwatchjs/nightwatch@v2.6.13...v2.6.14
v2.6.13
Compare Source
v2.6.11
Compare Source
v2.6.10
Compare Source
v2.6.9
Compare Source
v2.6.8
Compare Source
test_workers
enabled https://github.com/nightwatchjs/nightwatch/pull/3559v2.6.7
Compare Source
Fixed #3473: browser not defined issue by https://github.com/nightwatchjs/nightwatch/pull/3550
Fixed issue with reporting module names for parallel runs in https://github.com/nightwatchjs/nightwatch/pull/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: nightwatchjs/nightwatch@v2.6.6...v2.6.7
v2.6.6
Compare Source
Full Changelog: nightwatchjs/nightwatch@v2.6.5...v2.6.6
v2.6.5
Compare Source
.pause(0)
commandFull Changelog: nightwatchjs/nightwatch@v2.6.4...v2.6.5
v2.6.4
Compare Source
v2.6.3
Compare Source
lodash
dependency issue on windowsv2.6.2
Compare Source
v2.6.1
Compare Source
.within()
command for component testsexpect.element().value
– updated to use the getProperty('value') command;v2.6.0
Compare Source
New features
--trace
cli flag)Fixes & improvements
setGeolocation
was not functional in headless modeclick()
fails for iOS native app testingv2.5.5
Compare Source
.within(<selector>)
command which adds support for querying within elementsv2.5.4
Compare Source
v2.5.3
Compare Source
v2.5.2
Compare Source
New features
The v2.5.2 release adds API Testing capabilities to Nightwatch with the official plugin
@nightwatch/apitesting
which enables:Other Improvements
v2.5.1
Compare Source
v2.5.0
Compare Source
New features
Run tests on Mobile web
@nightwatch/mobile-helper
Nx monorepo integration with the Nx plugin @nightwatch/nx
Improvements
Fixes
report_network_errors
is enabledenable_fail_fast
enabledasync
callback tobrowser.perform()
Other
selenium-webdriver
to 4.5.0Release Walkthrough Video
Mobile Helper, Nx support (monorepos), API Testing and more: Nightwatch Release Walkthrough v2.5.0
v2.4.2
Compare Source
--open
cli argument wasn't working properly #3459v2.4.1
Compare Source
v2.4.0
Compare Source
New features
The v2.4.0 release brings improved support for Component Testing, which includes:
@nightwatch/storybook
play()
functiontest()
function in the Nightwatch contextaxe-core
suite of commandsvite-plugin-nightwatch
@nightwatch/vue
@nightwatch/react
JSX
directlyNew 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 modecomponent 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
--devtools
CLI flag in Edge and Safari to open the Dev Tools automaticallynightwatch.conf.ts
as config file and a few other improvements for running typescript tests PR #3316Fixes
moveTo
command.verify
assertions do not resolve when called from within the.perform()
commandv2.3.9
Compare Source
Minor update for the
axe-nightwatch-verbose
dependency.v2.3.8
Compare Source
--version
cli flagbrowser.resizeWindow()
v2.3.7
Compare Source
Fixed #3355 – updating the build name using client.updateCapabilities did not work
v2.3.6
Compare Source
nightwatch-axe-verbose
as a bundled dependency to enable accessibility testing out of the box #3389v2.3.5
Compare Source
expect.cookie
always returning undefined valueasync
/await
testcase e9e38cv2.3.4
Compare Source
it()
/test()
is marked as skippedv2.3.3
Compare Source
Improvements
--list-files
(#3246)Fixes
buildname
to settings when running on Browserstackv2.3.0
Compare Source
New feature
Pause mode
Debug mode
Improvements & Fixes
Redesigned error messages for improved context, relevant documentation and mitigation steps to fix the error.
Release Walkthrough
v2.2.3
Compare Source
chromeOptions
in older format didn't work.mockNetworkResponse()
to accept relative urls (tolaunch_url
setting)selenium-webdriver
version to 4.3.1 (#3278)v2.2.2
Compare Source
Important fixes
expect.element().to.not.be.present
throws error when the element is not presentNew features
The new Nightwatch init CLI tool is now available to use in order to kick-start a new Nightwatch test project in under 60 seconds.
Simply run:
Release notes for
create-nightwatch
:https://github.com/nightwatchjs/create-nightwatch/releases/tag/v1.0.0
Other
v2.2.1
Compare Source
The latest release introduces a new built-in HTML reporter and several new API commands based on the Chrome Devtools Protocol for mocking network responses, capturing logs, and more.
Improvements
Added new integrated HTML reporter with test status, assertion logs & raw HTTP logs - #3223;
Read more
Added built-in API commands for working with the Chrome Devtools Protocol - #3208:
setGeolocation
captureNetworkRequests
mockNetworkResponse
setDeviceDimensions
getPerformanceMetrics
enablePerformanceMetrics
takeHeapSnapshot
captureBrowserConsoleLogs
captureBrowserExceptions
Added
--mocha
cli flag to quickly switch the test runner to use MochaAdded
--open
cli flag to open the generated HTML report automaticallyAdded new integrated JSON reporter
Added support for using multiple reporters - #3003; to specify more reporters just add several
--reporter
arguments, e.g.:nightwatch --reporter html --reporter junit --reporter custom-reporter
Other
selenium-webdriver
to v4.2.0 - #3215v2.1.8
Compare Source
v2.1.7
Compare Source
global
package to fix an issue on windowsv2.1.5
Compare Source
sendKeys
command (#3045)v2.1.4
Compare Source
v2.1.3
Compare Source
ejs
to avoid a high severity vulnerabilityv2.1.2
Compare Source
v2.1.1
Compare Source
v2.1.0
Compare Source
The Nightwatch 2.1 release adds a few important fixes and several improvements, including upgrade to Selenium 4.1.1. Here's the full list:
Improvements
Support for working with Selenium relative locators
New error stack trace output which parses and highlights the source code line – #3071
Set network emulation settings in Chrome/Edge with the
.setNetworkConditions()
command (#2996)Automate the input of basic auth credentials with the
.registerBasicAuth()
command (Chrome/Edge) (#3116)Important Fixes
setValue
commandv2.0.10
Compare Source
Fixed an issue occurring when using the Mocha integrated test runner and a test failure was logged in an
async
testcases.v2.0.9
Compare Source
v2.0.8
[Compare Source](https://togithub.com/nig