mar
Extend Selenium Webdriver to use with Angular apps.
Install
npm install --save-dev marjs
Usage
Let's say you have a simple angular app that hides or shows an <h1>
element
Show must go on!
And your angular app is simple as;
angular
Here's an example on how to test this angular app changes with selenium using mar
// aungular controller name to test scope changesconst controllerName = "MarController"let should = chai
The full example is on test.js file.
Opinions and help are welcome.