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 - v0.9.0

Published by beatfactor over 8 years ago

Nightwatch v0.9

New features

  • Improved unit testing support - improved support for running unit tests with Nightwatch has been significantly improved (available behind the compatible_testcase_support setting); unit tests are also compatible with Mocha's exports interface and all the Nightwatch unit tests have been rewritten in this format. More details: http://nightwatchjs.org/guide#unit-testing
  • Improved output for parallel running - test output when running tests in parallel has been improved to be more readable and by setting detailed_output to false it will be even easier to follow.
  • Specify multiple test sources - it is now possible to directly specify several test files or folders as arguments to the cli runner. More details: http://local.nightwatchjs.org/guide#running-tests

Enhancements

  • Added support for requiring subdirectories in page object path.
  • Added support for passing multiple group names.
  • Added detailed_output option to support showing only the testcase names in the log without assertion info

Important fixes

  • Fixed #924 Not possible to create custom assertion with no arguments
  • Fixed #873 junit report does not include the failed assertion information
  • Fixed an issue with elementNotPresent occurring in Edge
nightwatch - v0.8.18

Published by beatfactor over 8 years ago

  • Added windowPosition protocol action and setWindowPosition command
  • Added support to persist globals between testsuites via the persist_globals setting
  • Fixed an issue where globals weren't properly merged when overwritting properties on deep levels
  • Added support for page objects elements property to accept an array
nightwatch - v0.8.16

Published by beatfactor over 8 years ago

  • Added support to fail the test when an exception is thrown in a global hook by passing the error message to the done callback;
  • Added new props object on the page object which can hold various properties; if props is a function, it is with the page as its context.
  • Added error messages to the results object as the errmessages array.
nightwatch - v0.8.15

Published by beatfactor almost 9 years ago

  • Fixed "maxBuffer exceeded" error when running tests in parallel if the standard output exceeds 200Kb.
nightwatch - v0.8.14

Published by beatfactor almost 9 years ago

  • Fixed #710 - Added support for using both --tag and --skiptags options together;
  • Fixed #745 - In some cases the command queue wasn't cleared properly (when an sync assertion fails, e.g. assert.ok()).
nightwatch - v0.8.13

Published by beatfactor almost 9 years ago

  • Added asyncHookTimeout global property for controlling the timeout for async hooks; if the done callback is not invoked within the set time in milliseconds an error is thrown.
nightwatch - v0.8.12

Published by beatfactor almost 9 years ago

  • Added support for exiting with non-zero code on failures when using mocha as test runner.
nightwatch - v0.8.11

Published by beatfactor almost 9 years ago

  • Fixed #629 - cannot load tests from folder outside the cwd.
nightwatch - v0.8.10

Published by beatfactor almost 9 years ago

  • Fixed #764 - use custom waitFor timeout value if available when using expect instead of globally defined
nightwatch - v0.8.9

Published by beatfactor almost 9 years ago

  • Fixed #687 - Stale element reference causes waitForElementVisible to fail.
nightwatch - v0.8.8

Published by beatfactor almost 9 years ago

  • Fixed #734 - currentTest object doesnt get passed in global afterEach
nightwatch - v0.8.7

Published by beatfactor almost 9 years ago

  • Fixed #717 - an issue with not properly handling the failures from before hooks
  • Fixed #708 - misleading error message if syntax error in globals_path
nightwatch - v0.8.6

Published by beatfactor about 9 years ago

  • Added proxy option for proxying requests to selenium server.
nightwatch - v0.8.4

Published by beatfactor about 9 years ago

  • Added group name as package in junit xml reports.
  • Improved stability for async hooks.
nightwatch - v0.8.3

Published by beatfactor about 9 years ago

  • Added support for loading stock chai expect assertions onto the expect api - #640
nightwatch - v0.8.5

Published by beatfactor about 9 years ago

  • Fixed #671 - Parallel mode doesn't exit with non-zero code when one of the envs fail
  • Fixed #654 - Screenshot option is not working with Mocha on Windows
nightwatch - v0.8.2

Published by beatfactor about 9 years ago

  • Fixed #636 - updated elementPresent/NotPresent assertions to use elements commands to avoid errors being thrown by selenium
  • Added global default timeout support for expect assertions - #632
nightwatch - v0.8.1

Published by beatfactor about 9 years ago

  • Added - group property on currentTest object containing the group name, if any
  • Fixed - an issue with the global hooks occurring when performing commands
nightwatch - v0.8.0

Published by beatfactor about 9 years ago

Nightwatch v0.8

New features

Enhancements

  • Added support for automatically taking a screenshot on test failure - based on #442;
  • Added abortOnAssertionFailure global property for controlling whether to abort the test execution when an assertion failed and skip the rest
  • Added support for deep merging globals (and other test environment properties) from default test environment; also merging external globals with config globals
  • Added support for setting the device orientation
  • Added improvements to session command
  • Added group_name property on test_settings object available when running using --group option

Important fixes

  • Fixed showing original stacktraces in failure messages #615
  • Fixed --suiteRetries does not re-run global beforeEach/afterEach #588
  • Fixed --suiteRetries option only retries the first test in testsuite #610
  • Fixed - test report output for third-party assertion frameworks #601
nightwatch - v0.7.11

Published by beatfactor about 9 years ago

  • Fixed #606 - an issue occuring on expect assertions on page objects