v1.0.0
This release adds a lot of improvements to the create-nightwatch
tool.
Improvements
- Added
--browser
flag (alias-b
) to pass the browsers to be used directly from the CLI - #18.
Usage:npm init nightwatch -- --browser chrome --browser firefox # with alias npm init nightwatch -- -b chrome -b firefox # with yes flag and alias npm init nightwatch -- --yes -b chrome -b firefox
- Added question to choose between the cloud providers when remote is selected, and added config for Sauce Labs - 183377f.
Examples
- Added examples for
custom-commands
,custom-assertions
, andpage-objects
. - Modified the structure of examples and added comments in the examples, so that they are easy to read and understand.
- Examples can now be used as boilerplate for writing tests.
- Fixed failing
ecosia.js
example.
Other
-
If the
npm init nightwatch
command is run inside a directory which is not a node project but already contains some files, the tool will now ask for confirmation before initializing the Nightwatch project in that directory - #10.
-
Updated the dependencies, fixing vulnerabilities - #16.
-
Removed support for Internet Explorer - 74cfe86.
-
Added suggestions if the user passes wrong flags in the CLI - #18.
-
Updated the configuration file, along with all the documentation links inside the configuration file.