Files
vue-cli/packages/@vue/cli-plugin-e2e-nightwatch
2018-02-08 16:52:47 -05:00
..
2018-01-18 00:25:07 +01:00
2018-01-05 09:20:20 -05:00
2018-02-08 16:52:47 -05:00
2018-01-18 00:25:07 +01:00
2018-02-06 17:50:13 -05:00
2018-02-08 16:52:47 -05:00

@vue/cli-plugin-e2e-nightwatch

e2e-nightwatch plugin for vue-cli

Injected Commands

vue-cli-service e2e

run e2e tests with NightwatchJS.

Options:

--url        run e2e tests against given url instead of auto-starting dev server
-e, --env    specify comma-delimited browser envs to run in (default: chrome)
-t, --test   sepcify a test to run by name
-f, --filter glob to filter tests by filename

Additionally, all Nightwatch CLI options are also supported.

Configuration

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.config.js or nightwatch.json in your project root to configure additional browsers. The config will be merged into the internal Nightwatch config.

Consult Nightwatch docs for configuration options and how to setup browser drivers.

Installing in an Already Created Project

npm install -D @vue/cli-plugin-e2e-nightwatch
vue invoke e2e-nightwatch