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