An automation testing exercise for Unisuper.
Uses Protractor to automate testing of todoMVC
To write automation tests for the following scenarios:
- I want to add a To-do item
- I want to edit the content of an existing To-do item
- I can complete a To-do by clicking inside the circle UI to the left of the To-do
- I can re-activate a completed To-do by clicking inside the circle UI
- I can add a second To-do
- I can complete all active To-dos by clicking the down arrow at the top-left of the UI
- I can filter the visible To-dos by Completed state
- I can clear a single To-do item from the list completely by clicking the Close icon.
- I can clear all completed To-do items from the list completely
- Clone the repository
- Make sure you have Node.js installed
- Make sure you have Chrome installed
$ cd path/to/repo$ npm install$ node ./node_modules/.bin/webdriver-manager update$ node ./node_modules/.bin/webdriver-manager start- Open a new terminal window
$ node ./node_modules/.bin/protractor