Skip to content
Angular Builds edited this page Oct 22, 2018 · 15 revisions

Documentation below is for CLI version 6. For version 7 see here.

ng e2e

Overview

ng e2e serves the application and runs end-to-end tests.

ng e2e [project]

Running end-to-end tests

ng e2e

End-to-end tests are run via Protractor.

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.

Clone this wiki locally
You can’t perform that action at this time.