multiple-cucumber-html-reporter icon indicating copy to clipboard operation
multiple-cucumber-html-reporter copied to clipboard

Please add <pre> tag to step.html, it's not showing in proper format now

Open s-dwivedy opened this issue 2 years ago • 0 comments

Environment (please complete the following information):

  • multiple-cucumber-html-reporter: [e.g. 1.10.0]
  • Node.js version: [e.g. 8.9.1]
  • NPM version: [e.g. 5.8.0]
  • Platform name and version: [e.g. Windows 10]
  • Cucumber version: [e.g. 4.2.0]

Config of multiple-cucumber-html-reporter An example of how you configured the reporter in your config

Describe the bug Show info is not showing in proper format as

 tag is not added.
<% if (step.html) { %>
<%= step.html.join('
') %>
<% } %>

To Reproduce In the report -> click on scenario -> show info

[Include code or an example repository that can easily be set up]

<% if (step.html) { %>

<%= step.html.join('
') %>
<% } %>

Expected behavior Show info should show in proper format .

Log If applicable, add logs to help explain your problem. If you don't have logs, enable 'debug:true' in the config and paste the log here. Please use proper markdown to style it

Additional context Add any other context about the problem here.

s-dwivedy avatar Oct 27 '23 07:10 s-dwivedy