All Versions
Latest Version
Avg Release Cycle
23 days
Latest Release
1134 days ago

Changelog History
Page 1

  • v1.5.1 Changes

    October 29, 2020
    • ๐Ÿ›  Fixed #2529 - false warnings about settings being defined in globals
  • v1.5.0 Changes

    October 20, 2020

    Nightwatch v1.5 introduces support for using third-party automation libraries directly into Nightwatch tests, thus providing significantly more flexibility in writing custom commands/assertions and also the test itself. This functionality also aims to eliminate some of the burden in choosing between various frameworks, by providing the possibility to combine the functionality offered by other libraries, such as selenium-webdriver or WebdriverIO, with Nightwatch.

    ๐Ÿ›  Other fixes and improvements:

    • ๐Ÿ›  Fixed #2245 - test_settings is undefined in global before hook
    • โž• Added --parallel cli flag for easier running of tests with test workers โ€“ 5cfc278
    • โž• Added a config setting to display timestamps in iso format โ€“ 1dad022
  • v1.4.3 Changes

    September 18, 2020
    • ๐Ÿ›  Fixed #2489 - api commands throwing TypeError when called inside page section custom commands
    • ๐Ÿ›  Fixed #1969 - element selectors from page sections not working when used in custom commands
  • v1.4.2 Changes

    September 11, 2020
    • ๐Ÿ›  Fixed #2488 - 'element not found' errors thrown by JsonWire protocol for /element requests were not ignored
    • ๐Ÿ›  Fixed an issue where the WebElement ID is not retrieved correctly when using chrome with selenium server and jsonwire transport
  • v1.4.1 Changes

    September 06, 2020
    • ๐Ÿ›  Fixed #2486 - mocha test runner was unavailable.
  • v1.4.0 Changes

    September 04, 2020

    ๐ŸŽ This version significantly improves the network stability and performance of the test runner, by improving the underlying http retry mechanism and error detection and reporting of API commands โ€“ a particularly important update for when using cloud testing services.

    โž• Additionally, we have added better support for writing advanced custom commands to make it easier to extend Nightwatch, and improved support for using Nightwatch programmatically. See writing custom commands docs page.

    โšก๏ธ The Developer Guide docs also have been updated.

    ๐Ÿ”„ Changelog:

    • โž• Added improved http request retry mechanism and better error reporting for api commands โ€“ a04162c
    • โž• Added enhancements to assist in writing of custom commands โ€“ c977b16
    • โž• Added abortOnElementLocateError global property to control if the testcase in progress should continue in the event of an element locate error (as a result of a click, getText, etc. command) โ€“ #2459
    • ๐Ÿ›  Fixed an issue with merging the config settings when passed programmatically โ€“ #2483
    • ๐Ÿ›  Fixed an issue where transport was set incorrectly for Chrome when using chromeOptions.w3c:true โ€“ d56a9db
    • ๐Ÿ›  Fixed an issue where the locator strategy was not taken into account when specifying first argument in a waitFor* command โ€“ #2446

    • ๐Ÿ›  Fixed #2458 - implemented proper handling of 5xx server errors sometimes encountered during element commands, usually when using cloud testing services or selenium grid

  • v1.3.8 Changes

    July 25, 2020
    • ๐Ÿ›  Fixed #2458 - implemented proper handling of 5xx server errors sometimes encountered during element commands, usually when using cloud testing services or selenium grid
  • v1.3.7 Changes

    July 22, 2020

    Added new setting test_workers.node_options to enable passing node options to individual test worker processes.

    • This will pass all of process.execArgv:

      test_workers: {enabled: true,// automatically compute the number of workers based on CPU coresworkers: 'auto',// pass node arguments to individual workers (all of the process.execArgv)node_options: 'inherit',},

    • This will pass only the specified cli options:

      test_workers: {enabled: true,workers: 'auto',// selectively pass node arguments to individual worker processesnode_options: ['--inspect']},

  • v1.3.6 Changes

    May 30, 2020
    • ๐Ÿ›  Fixed #2417 - --filter argument was ignored if both --filter and --skiptags are set
    • ๐Ÿ›  Fixed - an issue occurring when using --filter argument and an empty src_folders setting - b2c2daa
    • โž• Added - improved jUnit reporting for assertions in before/after test hooks - 0cc3627
    • โž• Added - stripping of ansi control characters in jUnit xml reports and improved currentTest api property - 0cc3627
    • ๐Ÿ›  Fixed - an issue with running tests using the describe interface more than once in the same test run - cb1221d
    • ๐Ÿ›  Fixed - a problem with using the global --timeout argument in some cases - 1b3abcd
    • ๐Ÿ›  Fixed - an issue where a failed assertion inside the after test hook would have blocked the test run - 1e11032
    • ๐Ÿ›  Fixed - displaying the correct error message in case of using an unknown api assertion (e.g. due to a typo) - abaaaf8
    • ๐Ÿ›  Fixed - remove the isVisible workaround for Safari lower than v12 - c8e34b2
  • v1.3.5 Changes

    May 03, 2020
    • ๐Ÿ›  Fixed #2365 - Removed deprecated optimist package and updated implementation of cli help display;
    • ๐Ÿ›  Fixed an issue with specifying a non-default port to geckodriver and chromedriver;
    • ๐Ÿ›  Fixed a potential issue when not specifying a callback to some element protocol actions;
    • ๐Ÿ›  Fixed #2375 - remove incorrect cli args from safaridriver.