Example to perform an End-To-End test with TDD approach using Webdriver IO, Selenium, Mocha, Chai.
This project provides three complete simple examples written in JavaScript (node.js) using the Web Application Test Framework Selenium.
Initial author was Nathan Oehlman.
The used test runner is Mocha. This example focuses on TDD as provided by the Chai Library.
To execute the tests perform these steps after cloning the source:
- npm install
- npm run start-webdriver &
- npm start &
- npm test