Closed kraftner closed 7 years ago
I get the following error
Error: The command "navigate" is already defined!
when adding
"custom_commands_path": "./node_modules/nightwatch-commands/commands",
to my config.
Is suspect it collides with the core navigate command introduced here.
navigate
Nightwatch doesn't throw an error when adding commands to custom_commands_path
custom_commands_path
Throws an error
npm install nightwatch-commands --save-dev
Add to nightwatch.json
nightwatch.json
Run nightwatch
Summary
I get the following error
when adding
to my config.
Is suspect it collides with the core
navigate
command introduced here.Expected behaviour
Nightwatch doesn't throw an error when adding commands to
custom_commands_path
Actual behaviour
Throws an error
Steps to reproduce
Add to
nightwatch.json
Run nightwatch