Simple and fun boilerplate for automated tests with WebdriverIO and BrowserStack 🔬 🍵
- Mocha
- Page Objects Model usage with ES6 style class base approach and fully ES6 - ES8 support through Babel
- Integration with BrowserStack
- Example using BrowserStack capabilities with Chrome through MacOS Sierra
- ESLint using slightly modificated standard style
- Pre-commit support through lint-staged
- Clone the repo
- Install dependencies with
yarn install
/npm install
- Set environment variables in your system OR create
.env
in the project root and update with BrowserStack Username and Access Key
Like this:
BROWSERSTACK_USERNAME=monocleman
BROWSERSTACK_ACCESS_KEY=nTnrxYTqE55jeklwks
-
To run the tests:
-
yarn tests
/npm run tests