How to navigate to the Step definition from the feature file using Appium and cucumber?

girish picture girish · Jul 20, 2016 · Viewed 13.3k times · Source

I am working with Intellij IDea and Appium and i have also installed cucumber. But i am unable to navigate to the step definition from the feature file by holding Ctrl button and clicking on the step.. It says "Cannot find declaration to go to". I have the step definition defined already but still it doesn't navigate.. Can any one suggest me any solution for this? Any help is appreciated.

Answer

Thomas Sundberg picture Thomas Sundberg · Jul 22, 2016

Install the "Cucumber for Java" plugin in IntelliJ IDEA. It will give you the support you are asking for.

Search for plugins called Cucumber and you will find one written by Jetbrains that you want.