mercredi 22 avril 2020

"Cucumber Full Support" extension in VS code and I'm facing configuration issues. Please help me

Issue:

-Curly lines are displayed in the feature file even when step definitions are available and properly mentioned in the settings.json file

-Go to step definitions and Peek Step definitions options aren't displayed

Expected behavior:

User should be displayed Curly lines only for steps which doesn't have step definitions

User should be able to Go to step definitions from feature files using "Go to Step definition" option on right click

Settings.json file:

{
    "cucumberautocomplete.steps": ["stepDefinitions/*.ts"],
    "cucumberautocomplete.syncfeatures": "featureFiles/*feature",
    "cucumberautocomplete.strictGherkinCompletion": true,
    "cucumberautocomplete.strictGherkinValidation": true,
    "cucumberautocomplete.smartSnippets": true,
    "cucumberautocomplete.stepsInvariants": true,
    "workbench.iconTheme": "vscode-icons",
    "files.autoSave": "afterDelay",
    "cucumberautocomplete.customParameters": [

    ]
}

My Project structure:

-PROJECT NAME
  -featureFiles
    -features1.feature
    -features1.feature
  -stepDefinitions
    -stepDefintions_1.ts
    -stepDefintions_2.ts
    -stepDefintions_3.ts
  -pageObjects
  -logs
  -configFiles
  -commonUtlities
  -node_modules
  -reports
  -package.json
  -ts-config.json

Images for Actual reference:

Curly lines issue

Project structure Image

Settings.json file

Aucun commentaire:

Enregistrer un commentaire