ebi-gene-expression-group / atlas-components

Front end components of Expression Atlas and Single Cell Expression Atlas
3 stars 3 forks source link

📦 scxa-cell-type-wheel 💬 Add tests with Cypress #118

Closed alfonsomunozpomer closed 1 year ago

alfonsomunozpomer commented 1 year ago

Highcharts breaks our tests: anything that goes beyond just checking rendering with static props throws a bunch of exceptions due to the way Highcharts handles updates. They are caused by some mis-handling of refs by js-dom. In fact, even the tests included in highcharts-react-official are failing.

After extensive trial and error Cypress is the best thing we’ve found. So here it is! I’ve added code coverage via Istanbul following the official Cyrpess guide.