Releases: nightwatchjs/create-nightwatch
Releases · nightwatchjs/create-nightwatch
v3.2.1
v3.1.0
3.1.0
V1.5.3
V1.5.2
v1.1.2
v1.1.1
Features
-
Added two template tests to help new users write their first test with Nightwatch - #25.
Fixes
- Make the configuration file generated on Windows compatible with other platforms such as Linux & Mac OS - nightwatchjs/nightwatch#3273
--browser
flag argument shouldn't be considered as the main argument while usingnpm init nightwatch
command - #27- Default browser is configured correctly if a single browser is passed through
--browser
flag - #30
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.