-
Notifications
You must be signed in to change notification settings - Fork 90
Protractor
angelozerr edited this page Jan 15, 2016
·
7 revisions
AngularJS Eclipse provides a support for Protractor:
- completion, hyperlink, validation, hover for protractor inside the JavaScript Editor (see Tern Protractor support):
- run/debug a JavaScript protractor config file:
To run/debug protractor configuration file, you need to install it with with npm like explained here.
AngularJS Eclipse searches the lib/cli.js
from protractor
npm module to execute protractor
- from your project inside
node_modules/protractor/lib/cli.js
- from the preferences (global configuration).
Before starting to run/debug your protractor configuration file, you must configure Window / Preferences / AngularJS / Protractor
:
You can run/debug your protractor configuration file. At first you must convert your project to AngularJS Project in order to Run/Debug Protractor appears in the contextual menu.
To debug a protractor configuration file, you must install a JavaScript debugger and select in the Protractor Preferences the installed debugger.