CI-based Unit and End to End Testing
Adds support for CI-based Unit and End-to-End testing #290 (closed)
Test cases covered
- building the Extension
- eslint
- gulp build (covers babel transpilation)
- loading extension in chrome browser
- bootstrap tour
- translation pattern creation, deletion and updation
- blacklisting of words and websites
- testing translation in google and wikipedia
- time taken by the algorithm for adding translated DOMs into the webpage
- count of newer DOMs added while the lazy loading process
- hovercard operations - mark as learnt words, saved translations
- testing
Popup.html
Visual explanation on running the tests: Link
Visualisation using mocha: Link
Edited by Harkishen Singh