marceloesplucio
4 years agoOccasional Visitor
[BDD] - Do not reuse steps.
Hello everyone
I'm starting to work with BDD, but I have a doubt.
When creating some scenarios, I am facing a problem, as some have similar characteristics, example: (save button, open button, delete button), I have three forms that have buttons with the same name, but when I am creating the steps to generate the step definition, it does not generate because the mapping of these fields was done in another form, the problem that I have elements with different id's for each form.
Is there a way to always be the only steps?
Tks for Help and Sorry for my English