My Step definition isn’t linking to my feature file, and I get the below error although I have already created a step definition:
“Step undefined
You can implement this step and 6 other step(s) using the snippet(s) below:”
Below is my POM file:
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<source>21</source>
<target>21</target>
</configuration>
</plugin>
</plugins>
</build>
Please suggest ways in which I can overcome this issue. I have already tried gluing my Step definition package. The error still persists.
New contributor
vaishnavi Muralidharan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.