Frage

I have set up an angular application using Yeoman generator. It works fine, builds fine and unit tests work. I have also added Protractor for e2e tests.

I've set up Webstorm to run the unit tests as a Node.js run configuration, which executes grunt-cli\bin\grunt with the test build task. It runs fine from the IDE.

However when I'm trying to debug, the execution never stops on breakpoints.

The console output is of little help. The tests simply succeed/fail as expected and that's it.

What could be wrong?

War es hilfreich?

Lösung

it doesn't seem to be possible to debug protractor tests in webstorm right now. Please vote for protractor support: WEB-9236

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top