Search code examples
rubyautomationcucumberwatir-webdriverrubymine

How can I create a step definition file using rubymine?


When I hit alt-enter on my steps text, only "convert scenario to outline" pops up, and not create step definition...do you know what i might be doing wrong?

enter image description here

also, my gem file includes cucumber and watir-webdriver. Thank you in advance :)


Solution

  • First hit on Google:

    https://www.jetbrains.com/ruby/help/creating-step-definition.html

    Looks like it is Alt-Enter, not hover.