Run unit tests on different browsers automatically
Description
Create a way of running unit tests on different browsers:
- Chrome
- Firefox
- Safari
- only latest versions?
- ~different node version?~ part of #974
Should it be run automatically on each PR to develop/master? Or manually before each release?
Links
- https://handsoncode.slack.com/archives/C031GBX62SE/p1649681545935479 (internal discussion)
- https://handsoncode.slack.com/archives/C031GBX62SE/p1649850832578009 (internal discussion)
Note to self: According to https://handsoncode.slack.com/archives/C031GBX62SE/p1649850832578009, currently the tests in browsers are run by:
- executing
npm run test:browser.debug - manually copying the testrunner to other browsers
- checking if all tests are green
We should use Selenium to automate that using our BrowserStack or TestingBot accounts.
For the list of tested browsers, choose a subset of the browsers listed here https://handsontable.github.io/hyperformula/guide/supported-browsers.html that makes sense.
Should it be run automatically on each PR to develop/master? Or manually before each release?
Definitely automatically. In my opinion on PR merge is enough, because otherwise it will be costly.