-
-
Notifications
You must be signed in to change notification settings - Fork 689
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
Step regexp regression in v6 when value is empty #1329
Comments
We have the same issue. Our steps with Our version of Cucumber is 6.0.5. https://cucumber.io/docs/cucumber/cucumber-expressions/#parameter-types |
Hi! We have a similar issue with the new cucumber version 6, which was working on Given(/^(?:there are )?the following "([^"]+)" entities( on "([^"]+)" database)?:$/, function expectEntities(
entityName,
databaseName,
entities,
) Before, when using it like:
|
Context
Notice
This may be an issue on cucumber-expression, but I'm not sure.
Description
With cucumber-js version 5.1.0, the regexp
([^"]*)
was detected as an empty string if in the feature file it was empty.As of version 6, it's
null
.Example
The value equals ""
null
whereas it should just log an empty string.
The text was updated successfully, but these errors were encountered: