Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scenario Outline - changes to steps not recognised unless you comment out the Examples/Scenarios table #268

Open
monsoon53 opened this issue Mar 5, 2025 · 1 comment

Comments

@monsoon53
Copy link

monsoon53 commented Mar 5, 2025

πŸ‘“ What did you see?

For tests that have Scenario Outline with Examples/Scenarios table - changes to steps are not recognised unless you comment out the Examples/Scenarios table.

βœ… What did you expect to see?

If an existing step is amended or a new step is added, I would expect it to be recognised as a new step and given the option to define the step in a steps class.

πŸ“¦ 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 Scenario Outline and Examples/Scenarios table - make a change to a step, or add a new step. Observe that the step is not recognised as being new, and needing to be defined - until you comment out the Examples/Scenarios table, will then be recognised as being new and give you the option to define the step.

πŸ“š Any additional context?

No response

@Ndus3-Martin
Copy link

I've the same issue. Using the same version of cucumber extension but without Reqnroll.
My guess it is a bug or something is not configured properly as one of the closed/solved bugs refers to this back in 2023/2024:
cucumber/language-service#149

Without the comment

Image

With the comment

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants