A simple WebDriver.io test automation framework
Julian Marks
This is a simple WebDriver.io (Selenium WebDriver-based) framework that includes some sample test cases.
- OPTION 1: npx wdio run ./wdio.conf.js
- OPTION 2 (*NIX-only): ./run_all_tests.sh
specs: [
'./test/specs/**/*.js'
],
exclude: [
'./test/specs/skipme.js'
],
- JavaScript = Programming language
- WebDriver.io = The test framework
- Mocha = Test runner
- Chai = Plugin for assertions
- Simple Login = Logs in with valid credentials and then logs out
- Sorting Tables = Sorting a table via header fields
- User Profiles Access = Validating User Profiles can be accessed
- Checkbox Functionality = Clicking checkboxes a random amount of times
- Dropdown Functionality = Randomly selecting a dropdown option