1.0.2 • Published 2 years ago
webdriverio-cucumber-typescript-browserstack v1.0.2
WebdriverIO UI Automation with Cucumber+TypeScript+BrowserStack
Create a powerful boilerplate for UI Automation test with WebdriverIO and Cucumber+TypeScript+BrowserStack
Features
- Integration of WebdriverIO+Cucumber+TypeScript+BrowserStack in single project
- Use Page Object Model for managing your test cases
- Well defined folder structured.
- Use log4js for logging
- Use eslint covering most of rules.
Getting Started
These instructions will get you a copy of the project up and running on your local and BrowserStack for development and testing purposes.
Prerequisites
- Node and NPM. Installation Guide
- VS code . Installation guide
Configuration of VS Code
Add below extensions to the VS code 1. vscode-icons 2. Prettier - Code formatter 3. Path Intellisense
Project Setup
- clone the repo using command git clone
git clone
- go to core folder and install all the dependencies with below command
npm install
Environment file configuration
use .env file for BrowserStack credentils
BROWSERSTACK_KEY=
BROWSERSTACK_USER=
Running the tests
- To run test on local
npm run local
- To run test on browserstack
npm run browserstack