Clone Repository
1. git clone https://github.com/sadabnepal/webdriverio-ts-bdd.git
2. Navigate to `webdriverio-ts-bdd`
Install the dependencies:
npm install
Run tests:
npm test (to run all tests)
npm run smoke (to run smoke suite)
npm run regression (to run regression suite)
Emailable HTML Report:
<ROOT_PROJECT_FOLDER>/reports/html/index.html
- Cucumber BDD framework
- Page Object Design pattern
- Spec and Cucumber HTML report
- Demo of API calls steps within UI actions
- Automatic test trigger using Github actions
├───tests
| ├───data
| ├───pages
| ├───specs
| | ├───features
| | └───steps
| ├───types
| └───utils
├───.gitignore
├───assignment.txt
├───package-lock.json
├───package.json
├───README.md
├───tsconfig.json
└───wdio.conf.ts
npx cucumber-js ./FOLDER_PATH/filename.feature