Skip to content

Commit

Permalink
fixed additional space in report on null output
Browse files Browse the repository at this point in the history
  • Loading branch information
bischoffdev committed Jun 10, 2018
1 parent 888fa10 commit 21884e0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
9 changes: 5 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,16 @@ Back to [Readme](README.md).

## [0.8.0] - 2018-06-10

### Added

Support for Before and After hock attachments

### Fixed

* Scenario.write outputs with null values lead to rendering exceptions
* Scenario.write outputs are not shown in before and after steps

### Added

* Support for Before and After hock attachments
* Updated example JSON files in example project

### Removed

* Capitalization of scenario names
Expand Down
14 changes: 7 additions & 7 deletions plugin-code/src/main/resources/template/macros/scenario.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -112,16 +112,16 @@
<#macro output step>
<#if step.output??>
<#list step.output as output>
<div class="row">
<div class="col-1"></div>
<div class="col-10 text-left">
<#if output?has_content>
<#if output?has_content>
<div class="row">
<div class="col-1"></div>
<div class="col-10 text-left">
<iframe srcdoc="${output?html}" width="100%" height="1"
scrolling="yes" onload="resizeIframe(this);"></iframe>
</#if>
</div>
<div class="col-1"></div>
</div>
<div class="col-1"></div>
</div>
</#if>
</#list>
</#if>
</#macro>

0 comments on commit 21884e0

Please sign in to comment.