You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have one feature file duckduckgo.feature and one step definition file duckduckgo.js both located in the cypress/e2e folder. My plugin settings are as below:
However the .feature file is recognised, but the .js file is not. This is the output:
[Info - 4:27:56 PM] Registering request handler for workspace/didChangeConfiguration failed.
[Info - 4:27:56 PM] Client does not support client/registerCapability. This is OK.
[Info - 4:27:56 PM] Cucumber Language Server 0.12.11 initialized
[Info - 4:27:56 PM] Scheduling reindexing in 3000 ms
[Info - 4:27:56 PM] Reindexing...
[Info - 4:27:56 PM] * Found 1 feature file(s) in ["cypress/e2e/*.feature"]
[Info - 4:27:56 PM] * Found 3 steps in those feature files
[Info - 4:27:56 PM] * Found 0 glue file(s) in ["cypress/e2e/*.js"]
[Info - 4:27:56 PM] * Found 0 parameter types in those glue files
[Info - 4:27:56 PM] * Found 0 step definitions in those glue files
[Info - 4:27:56 PM] * Built 3 suggestions for auto complete
[Info - 4:27:56 PM] Unable to generate step definition. Please create one first manually.
[Info - 4:27:56 PM] Unable to generate step definition. Please create one first manually.
[Info - 4:27:57 PM] Unable to generate step definition. Please create one first manually.
[Info - 4:27:59 PM] Reindexing...
[Info - 4:27:59 PM] * Found 1 feature file(s) in ["cypress/e2e/*.feature"]
[Info - 4:27:59 PM] * Found 3 steps in those feature files
[Info - 4:27:59 PM] * Found 0 glue file(s) in ["cypress/e2e/*.js"]
[Info - 4:27:59 PM] * Found 0 parameter types in those glue files
[Info - 4:27:59 PM] * Found 0 step definitions in those glue files
[Info - 4:27:59 PM] * Built 3 suggestions for auto complete
[Info - 4:27:59 PM] Unable to generate step definition. Please create one first manually.
[Info - 4:27:59 PM] Unable to generate step definition. Please create one first manually.
✅ What did you expect to see?
I would have expected the .js file to be seen and the step definitions to be recognised.
📦 Which tool/library version are you using?
I am using Cypress v10.6 with cypress-cucumber-preprocessor v12.1, VSCode v1.70.2 and plugin version v1.2.8. I have noticed this on earlier versions of Cypress and the Cypress Cucumber Preprocessor too.
🔬 How could we reproduce it?
Steps to reproduce the behavior:
Set up a Cypress project.
Ensure Cucumber plug in settings are pointing to the location of the files to be created.
Add a feature file.
Add a JavaScript step definitions file to define the steps in the feature file.
👓 What did you see?
I have one feature file
duckduckgo.feature
and one step definition fileduckduckgo.js
both located in thecypress/e2e
folder. My plugin settings are as below:However the .feature file is recognised, but the .js file is not. This is the output:
✅ What did you expect to see?
I would have expected the .js file to be seen and the step definitions to be recognised.
📦 Which tool/library version are you using?
I am using Cypress v10.6 with cypress-cucumber-preprocessor v12.1, VSCode v1.70.2 and plugin version v1.2.8. I have noticed this on earlier versions of Cypress and the Cypress Cucumber Preprocessor too.
🔬 How could we reproduce it?
Steps to reproduce the behavior:
📚 Any additional context?
I am on an M1 Mac
This text was originally generated from a template, then edited by hand. You can modify the template here.
The text was updated successfully, but these errors were encountered: