% def stats = utils.stats( data ) def config = com.aoe.gebspockreports.GebReportConfigLoader.instance.config def gebUtils = new com.aoe.gebspockreports.GebReportUtils() def gebReport = gebUtils.readGebReport() def specReport = gebReport.findSpecByLabel(utils.getSpecClassName(data)) %>
<% if (config.customCssFile != null) { %> <% } %> <% def writeIssuesOrSees = { issues, description -> if ( issues?.value() ) { %>$error
<% gebUtils.writeStacktrace(error, out) %>
$narrative<% } // issues/see annotations writeIssuesOrSees(utils.specAnnotation(data, spock.lang.Issue), 'Issues') writeIssuesOrSees(utils.specAnnotation(data, spock.lang.See), 'See') def summaryCssClass = stats.successRate < 1 ? 'failure' : 'passed' %>
| Executed features | Failures | Errors | Skipped | Success rate | Time |
|---|---|---|---|---|---|
| ${stats.totalRuns} | ${stats.failures} | ${stats.errors} | ${stats.skipped} | ${fmt.toPercentage(stats.successRate)} | ${fmt.toTimeDuration(stats.time)} |
$ignoreReason
<% } %>|
$block.kind |
$block.text <% if (block.sourceCode) { %><%
block.sourceCode.each { out << it << System.getProperty("line.separator") }
%><%
}
%>
|
||||||||
| $param | <% }%>Result |
|---|---|
| $dataValue | <% } %>${iteration.errors ? 'FAIL' : 'OK'} |
| Label | Image | Html | Page object |
|---|---|---|---|
| $label | png | html | ${artifact.pageObject} |