extentreports-java
extentreports-java copied to clipboard
JSON code block has expand/collapse, but they don't work
I record the response from an API call and include it in my report as JSON:
ExtentReportManager.getTest().info(MarkupHelper.createJsonCodeBlock(context.getAttribute("responseAsJsonObject")));
In the report, the JSON block appears to have toggles to expand/collapse sections but they don't work:

Also, it would be awesome if the default value for those sections was 'collapsed'. Ref: https://github.com/lmenezes/json-tree/issues/2
Update: I noticed that if I click a collapse '-' it doesn't do anything. But if you click a different test and click back it's toggled!
I have the same problem, @anshooarora help :)