Releases: nightwatchjs/nightwatch
Releases · nightwatchjs/nightwatch
v3.10.2
What's Changed
- Increase default timeout for
browserstack
env. by @Rohannagariya1 in #4349
Full Changelog: v3.10.1...v3.10.2
v3.10.1
What's Changed
- Fix
.perform()
command node promise getting resolved early. by @garg3133 in #4348 - Fix API calls and improve integration with Turboscale. by @Rohannagariya1 in #4347
New Contributors
- @Rohannagariya1 made their first contribution in #4347
Full Changelog: v3.10.0...v3.10.1
v3.10.0
NOTE: This release contains a few important fixes in the core of Nightwatch. So, if you encounter any unexpected behaviour after upgrading to this release that is not reproducible in the previous release, please open a new issue and tag @garg3133.
What's Changed
Fixes
- Throw error and disable suite for duplicate test cases in
describe
instance. by @badra022 in #4302 - Fix asynctree from getting cleared in between test case. by @garg3133 in #4325
- Reject custom commands node promise on abortOnFailure. by @garg3133 in #4314
- Fix unhandledRejection on error inside function-based custom commands. by @garg3133 in #4309
- Restrict
suppressNotFoundErrors
toNoSuchElementError
in new Elem API. by @Vaibhavsahu2810 in #4294 - Fix TypeError while using assert.present() in new Elem API. by @garg3133 in #4303
- Fix types for
dragAndDrop
command in new Elem API. by @ShreySinha02 in #4329
Enhancements and other changes
- Add
CustomCommandInstance
interface forthis
in custom commands. by @garg3133 in #4310 - Bump selenium-webdriver from 4.26.0 to 4.27.0 by @dikwickley in #4334
New Contributors
- @Vaibhavsahu2810 made their first contribution in #4294
- @badra022 made their first contribution in #4302
- @ShreySinha02 made their first contribution in #4329
Full Changelog: v3.9.0...v3.10.0
v3.9.0
What's Changed
- Bump selenium-webdriver to 4.26.0 by @garg3133 in #4293
- Add
isActive()
command to new Element API by @dikwickley in #4261 - Add
getComputedLabel()
andgetComputedRole()
alias commands. by @garg3133 in #4296 - Improve TSDoc for page object's
url
property. by @garg3133 in #4297 - Add types for custom commands on page object sections. by @garg3133 in #4298
Full Changelog: v3.8.1...v3.9.0
v3.8.1
Issue in v3.8.0
Fixes and other updates
- Suppress errors for subsequently chained
.find()
commands by @dikwickley in #4119 - Add new examples for element v3 API. by @dikwickley in #4274
- fix: frame command overlapping with subsequent NW commands. by @garg3133 in #4276
- fix: assertion failure in new Elem API leads to unhandledRejection. by @garg3133 in #4277
- Add null check before rejecting BaseLoader.lastDeferred. by @garg3133 in #4278
- type: Add
driver
property to NightwatchAPI. by @garg3133 in #4279 - Enforce BrowserStack build requests to use port 443. by @garg3133 in #4282
- fix: HTTP request agent does not change on protocol change. by @garg3133 in #4286
Full Changelog: v3.8.0...v3.8.1
v3.8.0
What's Changed
Enhancements
- Add
isPresent
command to new Element API. by @dikwickley in #4216 - Display
describe
name in HTML report. by @garg3133 in #4245 - Expose HttpRequest and cdp modules as utils. by @garg3133 in #4238
Fixes and other updates
- Add types for Appium-specific locate strategies. by @garg3133 in #4240
- Save command result values in Json Report. by @garg3133 in #4258
- Add selector and error line for "staleElementReferenceError" by @pujagani in #4214
- Update selenium to 4.24.1 by @AutomatedTester in #4266
New Contributors
Full Changelog: v3.7.0...v3.8.0
v3.7.0
What's Changed
- Fix selectElement example test. by @garg3133 in #4233
- Update ws dependency by @AutomatedTester in #4235
- Add .check and .uncheck commands for immutable checkbox operations by @reallymello in #4232
Full Changelog: v3.6.4...v3.7.0
v3.6.4
What's Changed
- Fix error in Cucumber when session is closed in a test case itself. by @garg3133 in #4209
- Fix page object demo examples in API docs. by @garg3133 in #4210
- Fixed W3C WebDriver Spec links in API docs. by @Halim-Shams in #4166
- Small modifications in API docs for updating value. by @garg3133 in #4213
- Fix API doc for
setPassword
command. by @garg3133 in #4225 - Fix selector object doc links in API docs. by @garg3133 in #4226
- Allow to enter the DEBUG mode from the pause command. by @garg3133 in #4224
New Contributors
- @Halim-Shams made their first contribution in #4166
Full Changelog: v3.6.3...v3.6.4
v3.6.3
What's Changed
Full Changelog: v3.6.2...v3.6.3
v3.6.2
What's Changed
Fixes
- Fix command args showing as '[object Object]' in reporter. by @garg3133 in #4195
- Fix test not aborting when waitFor commands used with async/await. by @garg3133 in #4196
Dependency updates
- Bump ejs to 3.1.10 by @garg3133 in #4204
- chore: updating mocha from 10.2.0 -> 10.3.0 to remove CVE-2022-3517 by @athammer in #4199
- Bump selenium-webdriver to 4.20.0 by @garg3133 in #4206
New Contributors
Full Changelog: v3.6.1...v3.6.2