Closed WaldemarEnns closed 3 years ago
Hi @WaldemarEnns ,
Thank you for contacting us. Unfortunately, I'm not sure what can be the issue here. In the attached demo elements are rendered correctly as HTML elements. Are you sure everything in Jest is configured correctly? Unfortunately, I'm not a Jest expert.
Kind regards!
Closed due to inactivity.
Hello there, I face the following problem:
I have this component:
Using
plotLines
in a customizedBulletGraph
makes it possible for me to mark acurrent
value and anachievable
value.In my jest tests-setup, I now try to mount the component and find the
plotBands
by their class-name:wrapper.get('.set-tooltip.green--text')
will fail, because it simply can not find myplotLines
. I useuseHtml
to create little arrows as markers for theisValue
andsetValue
.Why can't my jest-environment find the
plotLines
? I also tried usingawait localVue.nextTick()
to await the rendering, but it didn't work out.Any suggestion?
Check out my updated CodePen of the official HighCharts example for bullet graphs.