
html-report.report-test.ftl.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of galen Show documentation
Show all versions of galen Show documentation
A library for layout testing of websites
<#macro report_attachments node>
<#if node.attachments?has_content>
${node.status?upper_case}
<#if node?has_content>${node.name?html}#if>
<@report_attachments node/>
<#if node.details?has_content>
${node.details?html}
#if>
<#if node.class.simpleName = "ExceptionReportNode">
${node.stacktrace?html}
<#else>
<#if node.nodes?has_content>
<#list node.nodes as subNode>
<@report_node node=subNode/>
#list>
#if>
<#if node.class.simpleName = "LayoutReportNode" && node.layoutReport?has_content && node.layoutReport.sections?has_content>
<#list node.layoutReport.sections as section>
${section.name?html}
<#list section.objects as obj>
<@object_node object=obj/>
#list>
#list>
#if>
#if>
#macro>
<#macro object_node object>
${object.name?html}
data-area="${object.area.left?c},${object.area.top?c},${object.area.width?c},${object.area.height?c}"#if> data-name="${object.name?html}">
<#list object.specs as spec>
<#if spec.failed = true>
-
${spec.text?html}
<#if spec.errorAreas?has_content>
<#list spec.errorAreas as area>
- ${area.message?html}
#list>
#if>
<#if spec.subObjects?has_content>
<#list spec.subObjects as subObject>
<@object_node object=subObject/>
#list>
#if>
<#else>
-
${spec.text?html}
<#if spec.subObjects?has_content>
<#list spec.subObjects as subObject>
<@object_node object=subObject/>
#list>
#if>
#if>
#list>
#macro>
Galen Report | ${test.testInfo.name?html}
${test.testInfo.name?html}
<#if test.testInfo.report.nodes?has_content>
<#list test.testInfo.report.nodes as node>
<@report_node node=node/>
#list>
#if>
#if>
#macro>
<#macro report_node node>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy