Cucumber fails to recognize steps definition (Intellij, Java Maven)
I created a java maven project (java v22) in intellij with junit, cucumber-junit, cucumber-java, cucumber-picocontainer, and selenium-java maven dependencies (all cucumber from io.cucumber v. 7.18.0,and selenium is 4.22.0, while junit is 4.13.2).
I created a "features" folder in the root directory, and inside there a file called Ebay_Home.feature with the content:
And then in ./src/test/java, I created a directory called "steps" with java file called EbayHome_Steps.java with the content:
The content (printing something) doesnt matter, but my problem is when I right click
Anyone know how to fix this? Its a bare project - totally new that I just created these two files in.
I created a "features" folder in the root directory, and inside there a file called Ebay_Home.feature with the content:
And then in ./src/test/java, I created a directory called "steps" with java file called EbayHome_Steps.java with the content:
The content (printing something) doesnt matter, but my problem is when I right click
Ebay_Home.feature file and click Run 'Feature: Ebay_Home' in intellij, I get an error about that there are no steps defined...Anyone know how to fix this? Its a bare project - totally new that I just created these two files in.