This is a basic example of WebdriverIO + Cucumberjs + babel (es5) usage.
You will need to install the Chrome browser and the npm package manager before you can run these tests locally.
- Download and install Chrome.
- Download and install Node v8.1.1.
The test suite also has a bunch of yarn dependencies which will be installed when you follow the installation steps below.
- WebdriverIO
- Cucumber
- Babel ES5
- chai
- Selenium Standalone
- wdio cucumber-framework
To install the test suite locally, including the above npm dependencies:
- Clone this repository.
- Run
npm install
from the root directory of this repository.
To run the tests locally against the test portal environment:
- Run
npm run test:local
Either just run the tests using the above directions, or take a look in the features directory. Example: chasers_member_login.feature