-
-
Notifications
You must be signed in to change notification settings - Fork 147
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
Can't run step definition.js file after new update #596
Comments
Try putting the shoppingCart.js file into integration/BDD/shoppingCart/shoppingCart.js (there is supposed to be a folder matching the feature file next to the feature file) |
yeah that's not correct, try to do what I said please. ./integration/BDD/shoppingCart.feature ./integration/BDD/shoppingCart/shoppingCart.js . if you want to have the files in the same folder make nonGlobalStepDefinitions: false , that will have the side-effect of having all steps available to all feature files |
let me try it and let me get back to you |
watch the video. I have misunderstood something let me know and break down step by step how I should rectify it. |
@fypnlp I had to use regex instead. Did you try |
@stevenlafl I was able to FINALLY fix it
Notice, I was forced to change the nonGlobalStepDefinitions to false opposed to the default 'true'. I tried to 'true'. The test failed. It was able to read the Feature file and start running the test . I now have a data issues. But this problem appears to be resolved! |
Hello, can someone please help me? I am experiencing the same issue as reported above "Step Implementation Missing " I have
"cypress-cucumber-preprocessor": {
but I still get the error |
@Thetestport, assuming your using |
@badeball thanks for the response. i have done that and still get "step implementation missing |
Then you need to provide a minimal, reproducible example that illustrates the issue. |
@badeball Thanks for the response. I have reproduced my codes and step missing error using a facebook login flow. |
You haven't quite though. You omitted to provide file names and locations, which are crucial parts. Given that you're importing |
@badeball thanks a lot for the help. I am pretty much new to this and confused much, Nevertheless, I will go read up on the documentations you have provided |
@badeball Thank you. I have read the documents in the links you provided and the error has been resolved I have also implemented in my real codes and they work perfectly |
I honestly feel really about doing this, but the problem in the new release does not appear to be resolved
I updated the dependency with the new release. I opened cypress runner and and ran the test file
Expected Result
E2E test with BDD
However this is what I got, watch this video
Screen shot of testing
Versions
The text was updated successfully, but these errors were encountered: