Angular-cli e2e

Angular-cli e2e (Test FrontEnd)

Protractor is an end-to-end test framework for AngularJS applications.

To install:

npm install -g protractor

prerequisit angular CLI

to update:

./node_modules/protractor/bin/webdriver-manager update

Documuentation API:

To launch test:

ng e2e

Initial structure

├── app.e2e.ts Root test
├── common.po.ts Common functionality
├── login
│ └── login.po.ts Specific to the page
├── tsconfig.json
└── typings.d.ts

├── environment.js
├── karma.conf.js
├── karma-test-shim.js
└── protractor.conf.js Config file

Leave a Comment

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload the CAPTCHA.