-
Notifications
You must be signed in to change notification settings - Fork 82
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
Optional parts with whitespace are not matched #292
Comments
+1 for this. I'm also using optional parts with whitespace a lot. Examples:
which will match both
|
If you need a quick fix, modify your extension code:
|
Any progress on this? |
Any progress? I'm stucked with this problem too |
Any update?? I'm facing this issue too :( |
+1 I also need to use optional parts because the gramatical rules in portuguese :/ |
Same issue here. |
Hi @alexkrechik! |
Describe the bug
(Probably related to other issues about special characters in steps)
The autocomplete does not match when an optional part contains whitespace. So the feature file shows the green squiggly line under the step.
On version 2.14.1
To Reproduce
The step:
matches (no green squiggly line) with the following step definition:
but does not match (shows green squiggly line) the following step definition:
(this last step DOES match when the original step is:
Expected behavior
I would expect the autocomplete to match a step which does not contain an optional part with whitespace.
Note: cucumber does match the step; the test runs fine.
settings.json
The text was updated successfully, but these errors were encountered: