com.aventstack.extentreports.templates.spark.partials.bdd-content.ftl Maven / Gradle / Ivy
<#macro stepdetails test>
<#if test.hasLog()>
<#list test.logs as log>
<#if log.exception??>
<#else>${log.details}#if>
<#if log.media??><@mediaSingle log.media />#if>
#list>
#if>
#macro>
<#if test.hasChildren()>
<#list test.children as node>
${node.status?string}${node.name}
<#if TestService.testHasScreenCapture(node, true)>
#if>
<#if test.hasChildren()>
<#if node.bddType?? && node.bddType.simpleName=="ScenarioOutline">
<#list node.children as child>
${child.status?string}${child.name}
<#if TestService.testHasScreenCapture(child, true)>
#if>
<#list child.children as step>
${step.name}
<@stepdetails test=step />
#list>
#list>
<#else>
<#list node.children as child>
title="${child.description}"#if>>
${child.name}
<@stepdetails test=child />
#list>
#if>
#if>
#list>
#if>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy