Recently I became the maintainer of some browser extensions. When I became the maintainer I was surprised at the absence of tests in the project and I am looking for option now.
The problem that I run into when attempting to test extensions is having to deal with the WebExtension APIs in tests. The problem is that the environment the tests run in — that is as a webpage in chrome — does not have access to the APIs. The test suites I tried to use throws an error because anything with browser.* will be undefined.
To overcome this issue installed sinon-chrome, a library which enables mocking out these APIs. But even then, I can not fully test the extensions because this tools only mocks the API.
Has anyone tried using the UI.Vision RPA software for Chrome and Firefox extension testing?