Open adomasven opened 7 years ago
So before I begin, this is the plan:
I'll start with Firefox ESR. Any objections/suggestions @dstillman @tnajdek @inukshuk
The plan has changed to containing the tests within the extension with the debugging build. The webdriver spec and implementations are not quite there yet. We might still use Selenium to actually launch the browsers with extensions preloaded, but that's not strictly necessary. Express.js had been ditched too as we can stub responses with sinon.js since the tests run inside the blackbox.
Safari automation is stuck upstream. High Sierra (release in 2 weeks) required to launch a session with automation enabled and then it will probably take a while for travis-ci to support it.
Either way, I'll work on tests and we can at least run them manually before releases, which will still catch bugs.
Seems like we might be able to set up travis automation now, see upstream link above.
We should consider rewriting these since they rely on eval that is no longer viable with MV3, but there have been improvements to headless browsers and selenium since writing this that would allow to automate the browser and get its contents directly in nodejs.
This is becoming pretty critical now. We can get away without unit tests, but we must ensure basic functionality doesn't accidentally break.
Platforms:
Having at least Firefox ESR would be a good start.
Functionality: