This is BDD automation framework using Cucumber, JavaScript and Playwright which helps to automate any Web Application.
- VS Code
- Node.js
- Cucumber (Gherkin) Full Support Extention
- npm init playwright@latest
- npm i @cucumber/cucumber
once you clone the repository execute the following commands in the terminal to get all the packages installed.
- npm i
Use the following command to execute test cases with the @login tag and to generate a Cucumber report.
- npm run test
Behavior Driven Development (BDD)
Windows
Windows