Is your feature request related to a problem? Please describe.
The replacement of vislib requires also a replacement of the current functional tests available in Kibana.
These tests are checking also the rendering capabilities inside Kibana picking and analyzing DOM elements.
With the current @elastic/charts library, rendering in Canvas, this is no more possible.
Describe the solution you'd like
Describe alternatives you've considered
Enable Percy on Kibana, but we should define when we want to run it and how
Related issue in Kibana: elastic/kibana#70176
Is your feature request related to a problem? Please describe.
The replacement of vislib requires also a replacement of the current functional tests available in Kibana.
These tests are checking also the rendering capabilities inside Kibana picking and analyzing DOM elements.
With the current @elastic/charts library, rendering in Canvas, this is no more possible.
Describe the solution you'd like
PageObjectfunctions, used by functional tests in Kibana, that are checking values/variables in the DOM rendered by vislib<ChartStatus/>component as attributes only when thedebugflag is enableddebugflag in vislib only when running on the CI (we should be careful here because the debug currently also enable the graphical debug that can break Kibana visual regression tests)PageObjectfunctions for vislib with similar tests using our exposed statistics/propertiesDescribe alternatives you've considered
Enable Percy on Kibana, but we should define when we want to run it and how
Related issue in Kibana: elastic/kibana#70176