You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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: lmenezes/json-tree#2
The text was updated successfully, but these errors were encountered:
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!
CharlieSnowCode
changed the title
JSON code block had expand/collapse, but they don't work
JSON code block has expand/collapse, but they don't work
Mar 18, 2022
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:
![image](https://user-images.githubusercontent.com/67278867/158650783-ab2e00b7-2850-4862-b383-b164ef4b634d.png)
Also, it would be awesome if the default value for those sections was 'collapsed'. Ref: lmenezes/json-tree#2
The text was updated successfully, but these errors were encountered: