e2e-nightwatch plugin for vue-cli
run e2e tests with NightwatchJS.
--url run e2e tests against given url instead of auto-starting dev server --config use custom nightwatch config file (overrides internals) -e, --env specify comma-delimited browser envs to run in (default: chrome) -t, --test specify a test to run by name -f, --filter glob to filter tests by filename
Note: this plugin currently uses Nightwatch v0.9.x. We are waiting for Nightwatch 1.0 to stabilize before upgrading.
Additionally, all Nightwatch CLI options are also supported.
We've pre-configured Nightwatch to run with Chrome by default. If you wish to run e2e tests in additional browsers, you will need to add a
nightwatch.json in your project root to configure additional browsers. The config will be merged into the internal Nightwatch config.
Alternatively, you can completely replace the internal config with a custom config file using the
Installing in an Already Created Project
vue add @fromage/e2e-nightwatch