The tech stack used in this project are:
- TypeScript as the programming language for writing test code
- Cucumber as the framework
- NPM as the build tool
- VSCode as the preferred IDE for writing typescript code.
Setup your machine.
- Node 16
- Install VSCode & open the repo
- On Terminal, navigate to repo and run
npm install
- Run tests in Sequence:
browser=chrome npm run cucumber -- --tags="@test"
- Run tests in Parallel:
browser=chrome npm run cucumber -- --tags="@test" --parallel=5
- Run tests and generate the report
browser=chrome npm run cucumber -- --tags="@test" --parallel=5 && node cucumber.config.js
- Report will be found here:
reports/index.html
- TestCase-1: Heroku - FormAuthentication Cases
- TestCase-2: Heroku - Drag And Drop Cases