Is there a way to send nightwatch.js functional test reports into phpstorm?
(I haven't found a selenium plugin, or anything else about this.)
Is there a way to send nightwatch.js functional test reports into phpstorm?
(I haven't found a selenium plugin, or anything else about this.)
I managed to run nightwatch from phpstorm on windows 7.
npm install nightwatch
nightwatch.json
file (set the test directory, and everything else)nightwatch.js
file with require('nightwatch/bin/runner.js');
node.js
running configuration in phpstorm with the nightwatch.js
It should return the same as it does from cli. Sadly nightwatch does not have an itellij reporter, so you have to settle for the cli reporter...
It is possible to start the selenium server before the tests. I just simply added a selenium.bat
file to the before launch
/ external tools
with the following content .
start javaw -jar selenium-server-standalone-2.41.0.jar
The selenium server does not allow multiple instances, so you don't have to check whether it is already running...