* fix(e2e-nightwatch): check for correct flag name
flag is documented as `--use-selenium` but we checked for `args['with-selenium']`
fix#5015
* test(e2e-nightwatch): selenium test
uses correct flag now
Nightwatch checks for `nightwatch.conf.js` instead
of the existing `nightwatch.config.js` user options
file, this adds a branch to check for the file
suggested by upstream as well.
It has become a common source of mistakes.
For example, during PR #4363 I've referred to the wrong `options`
several times due to the variable shadowing.
BREAKING CHANGE:
"vue-cli-service e2e" has been deprecated in v3 and
renamed to "vue-cli-service test:e2e". Now the legacy command is
completely removed.
BREAKING CHANGE: `cli-plugin-unit-jest` and `cli-plugin-unit-mocha` now register
"test:unit" command and script instead of "test"; `cli-plugin-e2e-cypress` now
register "test:e2e" with optional `--headless` flag instead of "e2e" and
"e2e:open"; `cli-plugin-e2e-nightwatch` now register "test:e2e" instead of "e2e".
close#876, close#878
BREAKING CHANGE: PluginAPI.setMode() has been removed. Instead, for a plugin to
sepcify the default mode for a registered command, the plugins should expose
`module.exports.defaultModes` in the form of `{ [commandName]: mode }`.
close#959