Monday, June 3, 2024
 Popular · Latest · Hot · Upcoming
84
rated 0 times [  89] [ 5]  / answers: 1 / hits: 22446  / 11 Years ago, fri, november 22, 2013, 12:00:00

There is a way to run and debug protractor web-tests in WebStorm.
I just want to share this answer here


More From » angularjs

 Answers
10

  1. Get the node path (Type which node in your terminal)

  2. In the WebStorm: Click on Edit configurations - the dropdown to the left of the Run button (green arrow like a play button)

  3. Click on the Add button (green +) to add a new Node configuration. Select Node.js

  4. Fill the params:



Node interpreter: Full path to Node.js (from step 1)



Working directory: home directory for the protractor tests.



Javascript file: Full path to node_modules/protractor/lib/cli.js



Application parameters: Full path to protractor-conf.js



Now you be able to run and debug tests by clicking on Run or Debug buttons on the top of IDE


[#74125] Thursday, November 21, 2013, 11 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
morganm

Total Points: 626
Total Questions: 95
Total Answers: 95

Location: South Sudan
Member since Sun, Jul 11, 2021
3 Years ago
;