Issue
So I was writing a testing automation for charts.js and to retrieve the data I used the ngContext object like this:
document.getElementsByTagName('chart-dataset')[0].__ngContext__
But now after we upgraded to angular 14 ngContext is now an integer. Anyone knows whats going on? And where can I find the charts data if not in ngContext_?
EDIT: I need to get the data from the client side. I don't have access to the code itself.
Solution
In the end I decided to do screenshot comparison Thanks for the help
Answered By - Daniel Hollander
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.