Closed samixchoumi closed 5 years ago
I think i've found the problem after some search, FicheSteps is extended by at least 2 classes, when i extend it on only 1 class, the problem disappear. So how it's possible to extends one step class ?
@samixchoumi Could you please use the support forums for questions? It would be easier to help you there :)
Extending classes with step definitions always results in duplicates step definitions. That is why it is forbidden.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
I'm making some cucumber steps and i keep having this issues : DuplicateStepDefinitionException
I tried to correct this by my own hand but nothing worked, the question about this exception didn't helped me to correct my issue.
My step in error :
The stacktrace :
The strange thing i've noticed is that the duplicate exception appear on the same step definition :
Caused by: cucumber.runtime.DuplicateStepDefinitionException: Duplicate step definitions in FicheSteps.java:27 and FicheSteps.java:27
Something important is that cucumber worked fine with all these steps until today. Any idea ?