Create cucumber step definition duplication of step in feature file

Hello,
i have been writing some scenarios, and wrote an undefined step. At first i thought it was was a rare occurence or mispress on the keyboard. however it happens everytime.
i press alt+enter to create the step definition and upon creation the step is properly created within the step_def.rb file. however the step is also duplicated within a random part of the  feature file. it can happen within an examples section, a word within another step definition, and within a scenario title.

attached are the step within the feature properly, the step defined within the step def correctl, and the step def duplicated within the feature file.

Thanks for the help in advance



Attachment(s):
step_feature_correct.jpg
step_def_in_feature.jpg
step_correct.jpg
2 comments
Comment actions Permalink

Hello Andrew,

thank you for feedback, I've created issue, please vote for it so that to get notification when it fixed.

0
Comment actions Permalink

Thanks Andrey
I however forgot to mention that the feature file was in its own window when this happens.

Thanks
Andrew

0

Please sign in to leave a comment.