BehatHtmlFormatterPlugin
BehatHtmlFormatterPlugin copied to clipboard
Report not rendering multiline pystring json object
My report will not render/ display the multiline json object. when i inspect the html in the browser. I can see the json data. But it is just not rendered.
Can any one give some insight to this ?
for example
the "i send post request ....... with body:
will not output in the report.

Can you provide a screenshot of the generated html so we do not have to setup your test?
Thank you for coming back to me PurHur. While examining this a little more. I believe i am not actually seeing a lot of data.
I have taken the html from webpage behind firewall in our staging environment. and pasted it in to brackets, and then presented it to a browser.
Some UI objects are being presented which i can not see behind firewall.

So the items with the arrows are not being presented behind firewall
getting only one error behind firewall

the read me on https://packagist.org/packages/emuse/behat-html-formatter does not show the ui elements pointed to by the arrows
Why is my scenario-overview hidden
You showed two diffrent reports. The first one (without the arrows) is the old behat2 report style. You can use that with --format behat2
The second one is the twig template which requires jquery and bootstrap to load from external servers.
I guess the error is happening because your firewall blocked: https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js (and the other resources)
I will merge #114 soon so you can change the template for your needs.
Thanks again for your help PurHur.
As you can see this is REST API tesging.
Two years ago i made a fork and i created https://github.com/ijerry/BehatHtmlFormatterPlugin for the report to work behind firewall. So behind the firewall i can access these resources with this change.
So I am working off Twig version of the report. Not older version
So how can i get the new version of the report display the "Scenario-overview" part of the report ?
Also in the below diagram around the "STAR" graphic; How can i get the report to display the information here " a JSON PAYLOAD"
