Instruments browser for automatic application testability state detection
npm install testability-browser-bindingsThis library captures setTimeout, setImmediateand AJAX requests through XMLHttpRequest or fetch and
notifies them to testability.js so that it automatically
handles applicaton state for testing frameworks.
It will report untestable applicaton state automcatically for the following async events:
* Ajax requests with XmlHttpRequest
* setTimeout/clearTimeout: only if it's time is below 5 seconds, because otherwise it's considered a timeout.
* setImmediate/clearImmediate
* fetch
- testability.js: acts as testability broker.
- protractor-testability-plugin: allows
testing in sync with protractor and frameworks other than Angular.