I would like to use steps from one feature file in another feature file with additional steps
feature file 1
secenario outline: sample test
Given step 1 with id
then step 2 with name
and step 3 with address
|id | name | address|
|1 | rahul | usa |
feature file 2
secenario outline: sample test
Given step 1 with id
then step 2 with name
when step 3 with id and name and location
and step 3 with address
|id | name | address| location |
|1 | rahul | usa | hyd|
in practiacal i have more 23 steps to validate in my process. but when it comes to some other client i need to execute some additional steps to validate.
I am not able to skip the steps based on client. so i planned to create new feature file and copy the same steps again. but i have following issue
bheave.step_registry.Ambiguousstep
Please guide me how to resolve the issue