Skip to content

Latest commit

 

History

History
40 lines (33 loc) · 1.21 KB

File metadata and controls

40 lines (33 loc) · 1.21 KB

wdriver

A simple WebDriver.io test automation framework

Author

Julian Marks

Introduction

This is a simple WebDriver.io (Selenium WebDriver-based) framework that includes some sample test cases.

How to run the tests

  • OPTION 1: npx wdio run ./wdio.conf.js
  • OPTION 2 (*NIX-only): ./run_all_tests.sh
The above command will run ALL tests within the .../test/specs folder. You can EXCLUDE tests by moving tests from the "specs" section to the "exclude" section like so:
specs: [
        './test/specs/**/*.js'
    ],

exclude: [
        './test/specs/skipme.js'
    ],

Tech Stack information

  • JavaScript = Programming language
  • WebDriver.io = The test framework
  • Mocha = Test runner
  • Chai = Plugin for assertions

Test cases implemented so far

  1. Simple Login = Logs in with valid credentials and then logs out
  2. Sorting Tables = Sorting a table via header fields
  3. User Profiles Access = Validating User Profiles can be accessed
  4. Checkbox Functionality = Clicking checkboxes a random amount of times
  5. Dropdown Functionality = Randomly selecting a dropdown option