**Documentation below is for CLI version 6 and we no longer accept PRs to improve this. For version 7 see [here](https://angular.io/cli/e2e)**. # ng e2e ## Overview `ng e2e` serves the application and runs end-to-end tests. ```bash ng e2e [project] ``` ### Running end-to-end tests ```bash ng e2e ``` End-to-end tests are run via [Protractor](http://www.protractortest.org/). ## Options
prod

--prod

Flag to set configuration to "prod".

configuration

--configuration (alias: -c)

Specify the configuration to use.

protractor-config

--protractor-config

The name of the Protractor configuration file.

dev-server-target

--dev-server-target

Dev server target to run tests against.

suite

--suite

Override suite in the protractor config.

element-explorer

--element-explorer

Start Protractor's Element Explorer for debugging.

webdriver-update

--webdriver-update

Try to update webdriver.

serve

--serve

Compile and Serve the app.

port

--port

The port to use to serve the application.

host

--host

Host to listen on.

base-url

--base-url

Base URL for protractor to connect to.