hyperformula icon indicating copy to clipboard operation
hyperformula copied to clipboard

Run unit tests on different browsers automatically

Open sequba opened this issue 3 years ago • 1 comments

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)

sequba avatar Apr 15 '22 17:04 sequba

Note to self: According to https://handsoncode.slack.com/archives/C031GBX62SE/p1649850832578009, currently the tests in browsers are run by:

  1. executing npm run test:browser.debug
  2. manually copying the testrunner to other browsers
  3. 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.

warpech avatar Apr 26 '22 10:04 warpech