AOEpeople / geb-spock-reports

Integrates Geb screenshots into the spock-reports library
Apache License 2.0
36 stars 11 forks source link

html report: Wrap text in <div class="problem list"> #7

Closed rosemead closed 6 years ago

rosemead commented 6 years ago

Currently, when a long, unbroken line is added to the report, text extends beyond the right edge of the browser window. In some cases (errors reported from the driver, quoting driver specs, capabilities), line is pretty long. Would be good to wrap that text to the size of the visible window.

tilmanginzel commented 6 years ago

Thanks, I will add this in the next version. Hopefully that won't take too long.

tilmanginzel commented 6 years ago

Hi, I just implemented the following solution:

The layout is fixed to the currently maximum width of 800px. <pre> tags with code blocks or stacktraces are now horizontally scrollable. I did not want to wrap these as code and stacktraces are pretty hard to read with numerous word/line wraps.

I'll probably publish the version today. ;)

tilmanginzel commented 6 years ago

Published in v0.1.5.