Hans Larsen edited this page Aug 2, 2018 · 14 revisions

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.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.