Alan 068bb4001d docs: add deprecation and pr note
Docs are deprecated in favor of the the new pages in AIO which are WIP.
2019-01-09 09:14:13 -08:00

2.1 KiB

Documentation below is for CLI version 6 and we no longer accept PRs to improve this. 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.