Open conradogarciaberrotaran opened 2 months ago
Steps that use templates are not found, for example:
When the step is defined:
The step be defined
node v22.8.0 cucumber-language-server 1.6.0
Add a step with template string, for example:
@step("The API returns status code {status_code}") def check_return_status_code(context, status_code): response = context.response assert response.status_code == int( status_code )
create a feature that uses that step
Feature: Example Scenario Outline: Example Then The API returns status code 201
Check if the step is undefined
Thank you for developing this tool :) would be great if you supported this as it's 90% of my use cases
not sure if this is a duplicate of: https://github.com/cucumber/language-service/issues/205 if so, we can close this.
👓 What did you see?
Steps that use templates are not found, for example:
When the step is defined:
✅ What did you expect to see?
The step be defined
📦 Which tool/library version are you using?
node v22.8.0 cucumber-language-server 1.6.0
🔬 How could we reproduce it?
Add a step with template string, for example:
create a feature that uses that step
Check if the step is undefined
📚 Any additional context?
Thank you for developing this tool :) would be great if you supported this as it's 90% of my use cases