We don't get the cucumber along with our protractor packages, we have to install below packages to works with Cucumber and protractor
npm install protractor
npm install typescript
npm install --save-dev cucumber
npm install --save-dev @types/cucumber
npm install protractor-cucumber-framework --save-dev
npm install ts-node --save-dev
npm install chai --save-dev
npm install chai-as-promised --save-dev
Apart from the installation we have to add a plugin in VS code to ease the woking with cucumber, this is not a mandatory but it will be helpful. Someother plugin may replace it in future but as of now I am proceeding with plugin. gherkin-indent-plugin-cucumber-protractor
npm install @types/chai --save-dev
Article is written by Pavan (a) KarthiQ. Well, I am serving notice period in an MNC, Bangalore. I thought to enrich every person knowledge a little, I always have a feeling, when we teach something, we will learn more than what you know.
Knowledge is the only thing that doubles when you spend it.
I have also created the reporter for Protractor Jasmine. Use for your projects without any hesitation