WofWca / jumpcutter

⏩ Fast-forwards long pauses between sentences — watch lectures ~1.5x faster (browser extension)
https://chrome.google.com/webstore/detail/jump-cutter/lmppdpldfpfdlipofacekcfleacbbncp
GNU Affero General Public License v3.0
293 stars 11 forks source link

Add automated tests #64

Open WofWca opened 2 years ago

WofWca commented 2 years ago

At least some basic, smoke-test level stuff. This should make things a little easier for new contributors.

Unit tests would be easier to implements, but I think end-to-end / Selenium are more valuable. Both are good, of course. Not sure if Selenium can work with extensions.

WofWca commented 1 month ago

Here's Google's guide on how to do this. They suggest Selenium, Puppeteer, WebDriverIO: https://developer.chrome.com/docs/extensions/how-to/test/end-to-end-testing

Also for reference, this extension https://github.com/Authenticator-Extension/Authenticator has thorough E2E test coverage.