1006 B

ng e2e

Overview

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

Running end-to-end tests

ng e2e

End-to-end tests are run via Protractor.

Options

--config (-c) use a specific config file. Defaults to the protractor config file in .angular-cli.json.

--element-explorer (-ee) Start Protractor's Element Explorer for debugging.

--serve Compile and Serve the app. All serve options are also available. The live-reload option defaults to false, and the default port will be random.

--specs Override specs in the protractor config. Can send in multiple specs by repeating flag (ng e2e --specs=spec1.ts --specs=spec2.ts).

--webdriver-update (-wu) (Default: true) Try to update webdriver.