Search code examples
testingintellij-ideaphpstormwebstormgherkin

WebStorm/Intellij Gherkin tests configuration run


How to set up running configuration with WebStorm feature file?

When I click on green run button seems that WebStorm can't find the steps realisation.

How could I change that WebStorm understands from where should it take steps?

When I run tests with command line it works, I have config file where I declared steps folder.

enter image description here

enter image description here


Solution

  • You can specify --require path/to/step/definitions as Cucumber.js arguments: field:

    enter image description here