-
-
Notifications
You must be signed in to change notification settings - Fork 149
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
Error when invoking doesFeatureMatch in the support file after v15 release #1025
Comments
Hi @badeball! Thank you for maintaining this project 🙏 If you need more information about the issue, please let me know. Either way, I'm happy to help if needed. I want to mention that I have tested the combination of preprocessor v14 with Cypress v12 and it works as expected, although the support for Cypress v12 was introduced in v15. |
Hi @apehead, thanks for reporting this issue. I've fixed this with v17.2.1. |
Thanks for fixing this 🙂 |
Current behavior
When using the
isFeature
anddoesFeatureMatch
functions, as explained in the documentation found at this link, within the support file (e.g.,cypress/support/e2e.js
) like this:The following error is observed:
Desired behavior
Using the
isFeature
anddoesFeatureMatch
functions in the support file (e.g.,cypress/support/e2e.js
), as in the following example, should not result in an error:Test code to reproduce
https://github.com/apehead/issue-cypress-cucumber-preprocessor
Versions
Checklist
cypress-cucumber-preprocessor@4.3.1
(package name has changed and it is no longer the most recent version, see #689).The text was updated successfully, but these errors were encountered: