All Versions
30
Latest Version
Avg Release Cycle
23 days
Latest Release
358 days ago

Changelog History
Page 2

  • v1.3.4 Changes

    January 28, 2020
    • ๐Ÿ›  Fixed #2294: ES6 async/awaits does not work with browser.elements()
  • v1.3.3 Changes

    January 26, 2020
    • ๐Ÿ›  Fixed #2286 - es6 await commands not working on page objects
    • ๐Ÿ›  Fixed #2269 - negate (".not") assertions not working with page objects
    • โž• Added - cli option for showing timestamp in logs - #2268
    • โž• Added error messages in JUnit xml report - #2131
  • v1.3.2

    December 05, 2019
  • v1.3.1 Changes

    November 23, 2019
    • ๐Ÿ›  Fixed #2255 - callback not being called when errors occurred during an element command;
    • โž• Added improvements for the auto-generated nightwatch.conf.js file
  • v1.3.0 Changes

    November 22, 2019

    ๐Ÿ†• New features

    BDD describe Interface

    โž• Added BDD describe interface for writing tests. No further configuration is necessary and both exports and bdd interfaces can be mixed together (though not in the same file).
    More details

    assert.not Assertions

    โšก๏ธ You can use .not assertions for every existing and custom assertion. Custom assertions will require to be updated to the new interface in order to make use of .not. Refer to the Custom assertions docs for details.

    module.exports = { demoTest(browser) { browser .assert.not.elementPresent('.not\_present') // previously .assert.elementNotPresent() .assert.not.visible('.non\_visible'); // previously .assert.hidden() .assert.not.urlContains('http://'); // ... } }
    

    ๐Ÿ†• New APIs

    Commands:

    Assertions:

    Expect:

    ๐Ÿ‘Œ Improvements

    ๐Ÿ†• New CLI options:

    • ๐Ÿ’ป --headless - Launch the browser (Chrome or Firefox) in headless mode.
    • โœ… --timeout - Set the global timeout for assertion retries before an assertion fails. The various timeout values are defined in the Globals section.

    โœ… More details

    โœ… nightwatch Test Runner

    • ๐Ÿ”ง Auto-generated configuration: if no existing config file is found in the current folder, Nightwatch will generate a nightwatch.conf.js config file, based on the operation system and existing driver packages. More details
    • โž• Added support for http keepAlive which should be enabled when using remote testing services. See Configuration for details.
    • โž• Added several improvements for running tests against cloud testing provider Browserstack; see also an example configuration for using Browserstack.

    ๐Ÿ›  Fixes

    • ๐Ÿ›  Fixed #2219 - an issue with locating elements from page object sections using non @-based element identifiers
    • ๐Ÿ›  Fixed getElementSize and getLocation commands for w3c webdriver clients - #fd10c9b
  • v1.2.4 Changes

    September 20, 2019
    • โž• Added the module path of the testsuite in the test results object - #2207
  • v1.2.3 Changes

    September 19, 2019

    ๐Ÿ›  Fixed #2190 - test error/failure stack traces weren't showing correctly

  • v1.2.2 Changes

    September 01, 2019
    • โž• Added - new configuration settings to for fine tuning the Webdriver server process:

    • ๐Ÿ“Š status_poll_interval - Interval (in ms) to use between status ping checks when checking if the Webdriver server is up and running

    • max_status_poll_tries - Maximum number of ping status check attempts when checking if the Webdriver server is up and running before returning a timeout error.

    • process_create_timeout - The entire time (in ms) to wait for the Node.js process to be created and running (default is 2 min), including spawning the child process and checking the status

    ๐Ÿ”ง More details

  • v1.2.1 Changes

    August 12, 2019

    ๐Ÿ†• New commands

    โž• Added several new commands in-line with the W3C Webdriver API:

    ๐Ÿ‘Œ Improvements

    • waitForElementVisible doesn't throw an error anymore if the element cannot be found - #2148
    • โž• Added w W3C Webdriver API compatibility support for .timeouts() command;
    • โž• Added suppressNotFoundErrors option for element selector properties to enable suppressing NoSuchElement errors when element is not found for commands such as .click() or .getText() etc.

    ๐Ÿ›  Fixes

    • ๐Ÿ›  Fixed #2155 - an issue with page object element selectors
    • ๐Ÿ›  Fixed #2165 - an issue with page object relative urls
    • ๐Ÿ›  Fixed #1301 - an issue with using .perform() with async callback
    • ๐Ÿ›  Fixed #2168 - setWindowSize for geckodriver
  • v1.2.0

    August 12, 2019