-
-
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
Migrating Cypress test from old version to latest version throws error Expected to find a global registry #860
Comments
You need to provide me with a complete, but minimal and runnable example. |
I'm having the same issue with the 'Expected to find a global registry' error. I created a minimal setup with cypress and cucumber. Maybe this might help: https://github.com/DenFin/minimal-cypress-cucumber-setup |
@DenFin, in your case you can remove |
@badeball In my case , I didn't have js in my specPattern. Don't know if that is helpful in case. This is my settings: |
|
@scrumvisualize actually removing |
@scrumvisualize have you found any solution? |
Closing due to lack of reproducible example. Feel free to open up another issue if anything changes in this regard. |
Current behavior
I am trying to migrate my existing Cypress BDD tests from 8.7.0 version to latest version 10.10.0. I have installed the required libraries and amended the settings. I was having an old node version 12 + version, now updated to node v18.4.0 and tried again. Couldn't find any pointers to resolve similar issue, so any advise would be really helpful.
Following is my automation folder structure:
Imported in the step definition file
import { Given, When, Then, Before, After} from "@badeball/cypress-cucumber-preprocessor";
Added
e2e.js
file under tests/cypress/support folder:Added
.cypress-cucumber-preprocessorrc.json
file in to the test root folderBelow is my cypress.config.js file:
Error Details
Desired behavior
Hope to run the BDD feature file without errors
Test code to reproduce
Removed following items from the automation framework
uninstalled old
cypress-cucumber-preprocessor
from the projectVersions
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: