nightwatch

Integrated end-to-end testing framework written in Node.js and using W3C Webdriver API. Developed at @browserstack

MIT License

Downloads
594.3K
Stars
11.7K
Committers
158

Bot releases are hidden (Show)

nightwatch - v1.1.8

Published by beatfactor over 5 years ago

  • Added support for ES6 async/await custom commands (such as this example); previously async/await support was limited to testcases;
  • Fixed error handling for some cases when session was not created in Chrome and the error wasn't reported, unless you were in verbose mode;
  • Fixed #2079 - a regression which was causing waitForElementNotPresent command to not mark the assertion as failed when the element was still present after the timeout;
  • Fixed #2018 - calling custom commands on page objects would fail if first argument is an array (e.g. when using execute).
nightwatch - v1.1.7

Published by beatfactor over 5 years ago

  • Fixed #2077 - an issue with nested page objects
nightwatch - v1.1.6

Published by beatfactor over 5 years ago

  • Fixed #1990 - loading of page objects from nested folders
  • Added - support for relative urls in page objects
nightwatch - v1.1.3

Published by beatfactor over 5 years ago

  • Fixed #2047 - .frame() or .frame(null) does not switch to top-level default context
  • Fixed an issue which was preventing latest geckodriver to start in standalone mode
nightwatch - v1.1.2

Published by beatfactor over 5 years ago

  • Fixed #2066 waitForElementNotPresent always waits until the timeout value.
nightwatch - v1.1.1

Published by beatfactor over 5 years ago

  • Fixed #2069 - waitForElementVisible issue when the element is not found
nightwatch - v1.1.0

Published by beatfactor over 5 years ago

This version brings several performance enhancements for interacting with elements and some new features.

Improved element interaction stability

We have improved the mechanism used to interact with elements when using commands like click or setValue by adding automatic retries in case the element is not found or if the element reference has become stale. This will improve the overall stability of tests.

Support for ES6 Async functions

You can now use await operator for retrieving the result of commands such as isVisible or getValue.
Please see Using ES6 Async/Await for more details.

New expect Apis

Page Objects Improvements

nightwatch - v1.0.19

Published by beatfactor over 5 years ago

Fixes

  • Fixed #2004 - failing test generates invalid XML report file;
  • Fixed #1993 - External globals are not merged with existing globals
  • Fixed #1991 - No tests are run if --skiptags is used in a package.json script
  • Fixed #1987 - can't start tests when directories in src_folders contain empty subfolders
  • Fixed #1861 - global reporter in parallel running mode
  • Fixed #1989 - an issue with elementIdValue()
  • Fixed #1976 - an issue with using frame(0)
  • Fixed #1955 - screenshots attachment path not being added for failed assertions and errors in the JUnit XML report file

Improvements

Usage:

  • AND tags: --tag this,and,that
  • OR tags: --tag this --tag that
  • AND and OR tags combined: --tag this,and,that --tag something,else
nightwatch - v1.0.18

Published by beatfactor almost 6 years ago

  • Fixed #1965 - a problem with the test runner hanging when after a failure inside a custom command;
  • Fixed #1962 - selenium_port setting being ignored;
  • Fixed a problem with incorrectly reporting errors after a passed assertion.
nightwatch - v1.0.17

Published by beatfactor almost 6 years ago

  • Fixed #1948 - disable test_workers mode when used together with multiple environments
  • Fixed #1947 - a problem with testsuite before/after hooks when called without the callback
nightwatch - v1.0.16

Published by beatfactor almost 6 years ago

Public release of Nightwatch v1.0

nightwatch - v1.0.15

Published by beatfactor almost 6 years ago

  • Fixed #1938 - an issue with the queue causing an uncaught exception.
  • Added improved support for running tests using Safari driver
nightwatch - v1.0.14

Published by beatfactor almost 6 years ago

  • Fixed #1874 - failing to create a new session on a selenium grid with firefox
  • Added support for page object commands to be defined as an object instead of an array of objects
nightwatch - v1.0.12

Published by beatfactor almost 6 years ago

  • Fixed #1906 - a problem with setting abortOnFailure
  • Fixed #1864 - using Edge with external selenium cloud services
  • Fixed #1881 - .click() and .clearValue() when using geckodriver directly
  • Added support to load all commands onto page objects
  • Added support for proper expanding of page object elements when used on custom commands or custom assertions
nightwatch - v1.0.11

Published by beatfactor about 6 years ago

  • Added error handling for unknown expect properties.
  • Added titleContains assertion
  • Fixed #1863 - a problem with saveScreenshot command
  • Fixed #1864 - an issue with parsing the element JSONWire response
nightwatch - v1.0.10

Published by beatfactor about 6 years ago

  • Added compatibility support for execute() and alert specific commands with W3C WebDriver
  • Fixed #1865 - an issue with using exclude filters
  • Added switchWindow command support for GeckoDriver - #1869
nightwatch - v1.0.9

Published by beatfactor about 6 years ago

  • Fixed an issue with incorrectly passing the context to callbacks of elements protocol actions
  • Fixed #1862 - an issue with saving junit xml reports on windows
  • Added argument validation for element protocol actions which receive a web element ID
  • Fixed #1858 - using --reporter option throws error
  • Fixed #1835 - issue with loading non js custom assertion files
nightwatch - v1.0.8

Published by beatfactor about 6 years ago

  • Fixed #1808 - loading custom commands on page objects.
nightwatch - v1.0.7

Published by beatfactor about 6 years ago

  • Fixed an issue which was causing problems with starting chromedriver
  • Fixed some webdriver compatibility issues (setvalue and switchWindow)
  • Fixed a regression issue regarding the log_screenshot_data option when taking screenshots
  • Added support for managing the safaridriver service.
nightwatch - v1.0.6

Published by beatfactor over 6 years ago

  • Fixed #1786 - an issue with the transport protocol when connecting to an external Selenium service