v3.4.1

Feb 16, 2024

What's Changed

  • Warn about two describe()s in a single testsuite. by @garg3133 in #4011
  • Fix error while exiting Nightwatch using Ctrl+C. by @garg3133 in #4013
  • deps: Update piscina dependency to v4.3.1. by @garg3133 in #4020
  • Send POST_SESSION_EVENT with capabilities on session creation. by @garg3133 in #4024
  • Add appium reset command by @AutomatedTester in #4019
  • Disable HTML reporter in Cucumber. by @garg3133 in #4025

Full Changelog: https://github.com/nightwatchjs/nightwatch/compare/v3.4.0...v3.4.1

v3.4.0

Jan 29, 2024


What's Changed

Fixed and improvements:

Dependency updates:

  • Upgraded Selenium to 4.16 by David Burns in #4008. This upgrade brings improved stability, new features, and bug fixes, enhancing the overall testing capabilities with Nightwatch.
  • Updated nightwatch-axe-verbose dependency to enhance accessibility testing features, including improved axe-core integration and support for advanced configurations. by Priyansh Garg in #3993

Full Changelog

View Complete History

v3.3.8

Jan 10, 2024

What's Changed

Full Changelog: https://github.com/nightwatchjs/nightwatch/compare/v3.3.7...v3.3.8

v3.3.7

Dec 29, 2023

  • Added – support for defining a custom return function for custom command fe9a01

v3.3.5

Dec 14, 2023

What's Changed

  • Fixed process stalling for 4 mins after test run in Node v20+. by @garg3133 in #3976
  • Fixed #3639 waitFor commands not retrying for stale elements. by @garg3133 in #3978

Full Changelog: https://github.com/nightwatchjs/nightwatch/compare/v3.3.4...v3.3.5

v3.3.4

Dec 11, 2023

What's Changed

  • Fixed #3966 – shadow root not working on Firefox. by @garg3133
  • Fixed #3959 – TS tests not working in ESM project. by @garg3133

v3.3.3

Dec 7, 2023

What's Changed

Full Changelog: https://github.com/nightwatchjs/nightwatch/compare/v3.3.2...v3.3.3

v2.6.23

Dec 7, 2023

What's Changed

Full Changelog: https://github.com/nightwatchjs/nightwatch/compare/v2.6.22...v2.6.23

v3.3.2

Nov 16, 2023

What's Changed

Full Changelog: https://github.com/nightwatchjs/nightwatch/compare/v3.3.1...v3.3.2

v3.3.0

Nov 7, 2023

What's Changed

Fixes

Dependencies

Full Changelog: https://github.com/nightwatchjs/nightwatch/compare/v3.2.1...v3.3.0

v3.2.1

Oct 5, 2023

v3.2.0

Sep 27, 2023

What's Changed

Full Changelog: https://github.com/nightwatchjs/nightwatch/compare/v3.1.3...v3.2.0

v2.6.22

Sep 27, 2023

What's Changed

Full Changelog: https://github.com/nightwatchjs/nightwatch/compare/v2.6.21...v2.6.22

v3.1.3

Aug 21, 2023

What's Changed

New Contributors

Full Changelog: https://github.com/nightwatchjs/nightwatch/compare/v3.1.2...v3.1.3

Jul 31, 2023

  • Fix for failing TS tests after upgrading to v3. (#3845) 96e1b346
  • update lodash.merge dependency in client (#3836) 222c6035

https://github.com/nightwatchjs/nightwatch/compare/v3.1.0...v3.1.2

v3.1.0

Jul 26, 2023

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

New Contributors

Full Changelog: https://github.com/nightwatchjs/nightwatch/compare/v3.0.1...v3.1.0

V3.0.1

Jun 21, 2023

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

.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();

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

Other Improvements

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 - Beta 1

May 16, 2023

What's Changed

Features

Fixes

New Contributors

Full Changelog: https://github.com/nightwatchjs/nightwatch/compare/v3.0.0-alpha.3...v3.0.0-beta.1

All releases