Skip to content

Releases: nightwatchjs/nightwatch

v3.1.0

26 Jul 21:01
Compare
Choose a tag to compare

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: v3.0.1...v3.1.0

Nightly 3.1.0-nightly-26072023

26 Jul 15:57
2e0b867
Compare
Choose a tag to compare
Pre-release
nightly-3.1.0-nightly-26072023

handle error for src folders while using tags (#3824)

Nightly 3.1.0-nightly-18072023

18 Jul 18:50
0088762
Compare
Choose a tag to compare
Pre-release
nightly-3.1.0-nightly-18072023

Fix sync tests getting skipped in parallel mode. (#3791)

V3.0.1

21 Jun 18:20
Compare
Choose a tag to compare

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

16 May 17:30
Compare
Choose a tag to compare
v3.0.0 - Beta 1 Pre-release
Pre-release

What's Changed

Features

Fixes

New Contributors

Full Changelog: v3.0.0-alpha.3...v3.0.0-beta.1

v2.6.21

16 May 17:28
Compare
Choose a tag to compare

What's Changed

  • Return correct status code for waitForElementNotPresent (#3678)
  • skipped tests have categorized as either user-marked or runtime-failed (#3711)
  • REPL interface exits on error or failed expect assertion.
  • Added rerun functionality for failed test (#3703)
  • Added describe name, hook timestamps to reporter (#3680)
  • feat/retry-data: Added retry test data to global reporter (#3712)
  • Always throw uncaught exceptions (#3708)
  • Added a fix for assert.hasAttribute (#3651)

Full Changelog: v2.6.20...v2.6.21

v2.6.20

07 Apr 13:40
fcbf572
Compare
Choose a tag to compare
  • feat: add support for dynamic filename for HTML Report (#3667) b82b75f
  • chore: fix build duration for HTML Reporter (#3683) 4173ac0
  • remove mkpath as a dependency (#3679) 48f488f
  • resolve overlapping testnames issue (#3539) a647ee7
  • fix: incorrect build duration in HTML Report (#3658) 5557e5a
  • update baseHook to handle hook done function inside command callback (#3636) 98226b8

v2.6.19...v2.6.20

v3.0.0-alpha.3

31 Mar 12:42
7b621bf
Compare
Choose a tag to compare
v3.0.0-alpha.3 Pre-release
Pre-release

What's Changed

Full Changelog: v3.0.0-alpha.2...v3.0.0-alpha.3

v2.6.19

23 Mar 20:50
dba6915
Compare
Choose a tag to compare
  • Fixed #3484 – Added elementId only param in moveTo command
  • Fixed #3652 – Command queue nodes with autoInvoke mode were executed twice
  • Fixed #3469 REPL interface exits on error
  • Fixed #3591 - added support to stringify objects in console output

v3.0.0 - Alpha 2

14 Mar 18:56
Compare
Choose a tag to compare
v3.0.0 - Alpha 2 Pre-release
Pre-release

What's Changed

Full Changelog: v2.6.16...v3.0.0-alpha.2