So I have just added Extent Reports (Version 4.0.6) to the testing framework and everything is looking great BUT there's just one thing I am trying to do which I don't know if it's even possible..
So basically, I know you can do this (logic isn't exact):
extentNode = extentTest.createNode(TestStep1);
reportExtentNode2 = extentNode.createNode(childParam1);
reportExtentNode2 = extentNode.createNode(childParam2);
reportExtentNode2 = extentNode.createNode(childParam3);
Which would look like this:
-Test Step 1
--Child Node 1
--Child Node 2
--Child Node 3
-Test Step 2
--Child Node 1
--Child Node 2
This layout is great, but I don't want to see the child nodes unless I click on the parent node..
-Test Step 1 (3 x Child Nodes hidden)
-Test Step 2 (2 x Child Nodes hidden)
It looks that it can be done (sort of) if I edit the HTML (I think it's the HTML part) of the file.. But I'd like to be able to get it right without having to edit the file like that..