Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sadabnepal/webdriverio-ts-bdd
BDD framework using WebdriverIO (async), TypeScript, Cucumber HTML Report to test Automation Practice application.
https://github.com/sadabnepal/webdriverio-ts-bdd
allure-report async cucumber multiple-cucumber-html-reporter test-automation-framework typescript wdio wdio-async wdio-cucumber-steps wdio7-typescript-bdd webdriverio webdriverio-boilerplate-framework webdriverio-typescript
Last synced: about 1 month ago
JSON representation
BDD framework using WebdriverIO (async), TypeScript, Cucumber HTML Report to test Automation Practice application.
- Host: GitHub
- URL: https://github.com/sadabnepal/webdriverio-ts-bdd
- Owner: sadabnepal
- Created: 2020-10-10T19:33:56.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-03-06T11:26:07.000Z (10 months ago)
- Last Synced: 2024-03-06T12:37:41.127Z (10 months ago)
- Topics: allure-report, async, cucumber, multiple-cucumber-html-reporter, test-automation-framework, typescript, wdio, wdio-async, wdio-cucumber-steps, wdio7-typescript-bdd, webdriverio, webdriverio-boilerplate-framework, webdriverio-typescript
- Language: TypeScript
- Homepage:
- Size: 7.26 MB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Web Test Automation Framework
[![CI](https://github.com/sadabnepal/WebdriverIOTypeScriptCucumber/actions/workflows/main.yml/badge.svg)](https://github.com/sadabnepal/WebdriverIOTypeScriptCucumber/actions/workflows/main.yml)### Requirements:
[![NodeJs](https://img.shields.io/badge/-NodeJS-%23339933?logo=npm)](https://nodejs.org/en/download/)
[![VSCode](https://img.shields.io/badge/-Visual%20Studio%20Code-%233178C6?logo=visual-studio-code)](https://code.visualstudio.com/download)### Getting Started
Clone Repository
```bash
1. git clone https://github.com/sadabnepal/webdriverio-ts-bdd.git
2. Navigate to `webdriverio-ts-bdd`
```Install the dependencies:
```bash
npm install
```Run tests:
```bash
npm test (to run all tests)
npm run smoke (to run smoke suite)
npm run regression (to run regression suite)
```Emailable HTML Report:
```
/reports/html/index.html
```
### Key Features
- 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### Folder Structure
```
├───tests
| ├───data
| ├───pages
| ├───specs
| | ├───features
| | └───steps
| ├───types
| └───utils
├───.gitignore
├───assignment.txt
├───package-lock.json
├───package.json
├───README.md
├───tsconfig.json
└───wdio.conf.ts
```### generate step definitions
```
npx cucumber-js ./FOLDER_PATH/filename.feature
```
### Sample Report
![image](https://user-images.githubusercontent.com/65847528/142774279-1e18cbd2-9869-4fd9-ac3b-af397022fa73.png)