-
-
Notifications
You must be signed in to change notification settings - Fork 25
Description
👓 What did you see?
"Given I start a test" step already exists in step file, I then add a new test starting with "Given I start a test with TestId 1" - this is not recognised as being a new step, and therefore no option to generate the new step is presented. If I then delete some characters so the Given step is "Given I start a tes" then it is recognised as being a new step.
✅ What did you expect to see?
"Given I start a test with TestId 1" should be recognised as being a new step regardless of whether a step already exists with the text "Given I start a test" at the start.
📦 Which tool/library version are you using?
Cucumber for VSCode 1.10.0
Reqnroll.xUnit 2.2.1
🔬 How could we reproduce it?
Create a test with a Given step "Given I start a test" and define the step in a step class, then add a new test starting with "Given I start a test with TestId 1" - and see if this is recognised as being a new step. Then delete some characters so the Given step is "Given I start a tes" and observe that it is recognised as being a new step.
📚 Any additional context?
No response