astorije / repro-highcharts-11-test

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reproduction case for a test issue with Highcharts v11

This project was bootstrapped with Create React App.

Setup

In the project directory, you can run:

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser. The page will reload when you make changes.

yarn test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

Using Highcharts v10, this test runs fine. However, using Highcharts v11, the chart points are not rendered in tests, so the same test fails with:

 FAIL  src/App.test.js
  ✕ renders (1285 ms)

  ● renders

    Unable to find role="img" and name "x, 1, 2."

[...]

You can run the same test on the v11 branch to compare the output.

About


Languages

Language:HTML 57.9%Language:JavaScript 42.1%