Cypress Boilerplate with POM and Cucumber
Download & Configuration
npm init
--> package.jsonnpm install cypress cypress-cucumber-preprocessor
--> package-lock.json , node_modulesnpm install prettier
--> package.json updated, create .prettierrc file make configuration file ".prettierrc" to see prettier codenpx cypress open
--> open cypress ui
Create Scripts
package.json > "scripts" npm run cy:open
-> open cypress ui npm run cy:run
-> run headless test , create video files
Imports cucumber
plugins > index.js
Edit package
package.json > "cypress-cucumber-preprocessor"