Monday, 8 January 2018

How to install protractor for angular e2e Testing


Setup : install protractor globally
npm install -g protractor
check protractor installed
protractor -version
Update webdriver-manager to download required files
webdriver-manager update
start server:
webdriver-manager start
Test the sample e2e case :

ng e2e

No comments:

Post a Comment