https://github.com/wasiqb/my-wdio-ts
WebDriverIO sample project with Cucumber and Typescript
https://github.com/wasiqb/my-wdio-ts
cucumber-js cucumber-json typescript webdriverio
Last synced: 4 months ago
JSON representation
WebDriverIO sample project with Cucumber and Typescript
- Host: GitHub
- URL: https://github.com/wasiqb/my-wdio-ts
- Owner: WasiqB
- License: mit
- Created: 2023-05-13T06:56:47.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-20T21:00:18.000Z (4 months ago)
- Last Synced: 2025-02-20T21:31:01.467Z (4 months ago)
- Topics: cucumber-js, cucumber-json, typescript, webdriverio
- Language: TypeScript
- Homepage:
- Size: 827 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# my-wdio-ts
This project is a sample WebDriverIO with TypeScript and tests are executed with CucumberJS and reports are generated with [multiple-cucumber-html-reporter](https://github.com/WasiqB/multiple-cucumber-html-reporter).
## Pre-requisites
To work with this sample project, make sure following tools are installed on your machine:
- Install Node JS v18 LTS
- VS Code for writing test cases## Machine Setup
After cloning the project, first execute the following command:
```bash
npm install
```## Run the tests
Currently there is only one test related to Android Web application, which you can execute by running the following command:
```bash
npm run wdio
```## Check the test results
After the test execution completes, the HTML reporter will be opened automatically on the machine default browser.
This report will have complete details for each and every features and scenarios including screenshots for failed scenarios.
Logs will also be generated in the `./logs` folder in the projects root directory.