Integrated end-to-end testing framework written in Node.js and using W3C Webdriver API. Developed at @browserstack
MIT License
Bot releases are visible (Hide)
Published by AutomatedTester over 1 year ago
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.
With Nightwatch v3, we have revamped the element API to make test authoring simpler and more concise. Learn more
More rich & powerful selectors
.findByText()
.findByPlaceholderText()
.findByAltText()
.findByRole()
You can also chain selectors to find elements that are more complex to find
For E.g.
browser.element.find('CSS Selector').findByText('text').click();
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 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
With Nightwatch v3 you can test Angular components in isolation by mounting them in the browser. Try it now
The unit testing with Nightwatch got an upgrade as v3 introduced test doubles. You can use mocks, stubs & spies in your Nightwatch tests.
Fix: incorrect build duration in HTML Report by @vaibhavsingh97 in #3658
Fix #3484 Added elementId only param in moveTo command by @harshit-bs in #3517
Fix xPath selectors to locate within elements. by @garg3133 in #3672
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
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
Published by AutomatedTester over 1 year ago
Full Changelog: https://github.com/nightwatchjs/nightwatch/compare/v3.0.0-alpha.3...v3.0.0-beta.1
Published by AutomatedTester over 1 year ago
Full Changelog: https://github.com/nightwatchjs/nightwatch/compare/v2.6.20...v2.6.21
https://github.com/nightwatchjs/nightwatch/compare/v2.6.19...v2.6.20
Published by beatfactor over 1 year ago
element()
api which includes an improved chainable locator syntax with several new commands and assertions by @beatfactor, @garg3133 in https://github.com/nightwatchjs/nightwatch/pull/3666
Full Changelog: https://github.com/nightwatchjs/nightwatch/compare/v3.0.0-alpha.2...v3.0.0-alpha.3
Published by beatfactor over 1 year ago
Published by AutomatedTester over 1 year ago
Full Changelog: https://github.com/nightwatchjs/nightwatch/compare/v2.6.16...v3.0.0-alpha.2
Published by AutomatedTester over 1 year ago
No changes, just a version bump after the alpha.
Full Changelog: https://github.com/nightwatchjs/nightwatch/compare/v2.6.17...v2.6.18
Published by beatfactor over 1 year ago
Full Changelog: https://github.com/nightwatchjs/nightwatch/compare/v2.6.16...v2.6.17
Published by beatfactor over 1 year ago
boxen
from concurrent test runs by @qa-danny in #3616
Full Changelog: https://github.com/nightwatchjs/nightwatch/compare/v2.6.15...v2.6.16
Published by beatfactor over 1 year ago
app
property for using in native mobile app tests #3549
--chrome
, --firefox
, --safari
, --edge
) 4cd9a8
Full Changelog: https://github.com/nightwatchjs/nightwatch/compare/v2.6.13...v2.6.14
Published by beatfactor over 1 year ago
Published by beatfactor almost 2 years ago
test_workers
enabled https://github.com/nightwatchjs/nightwatch/pull/3559
Published by beatfactor almost 2 years ago
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: https://github.com/nightwatchjs/nightwatch/compare/v2.6.6...v2.6.7
Published by beatfactor almost 2 years ago
Full Changelog: https://github.com/nightwatchjs/nightwatch/compare/v2.6.5...v2.6.6
Published by beatfactor almost 2 years ago