com.aventstack.extentreports.view.commons.commons-macros.ftl Maven / Gradle / Ivy
<#macro attributes test>
<#if test.hasCategory()>
<#list test.categoryContext.all as category>
${category.name}
#list>
#if>
<#if test.hasAuthor()>
#if>
<#if test.hasDevice()>
<#list test.deviceContext.all as device>
${device.name}
#list>
#if>
#macro>
<#macro media el>
<#if el.hasScreenCapture()>
<#if el.screenCaptureContext??>${el.screenCaptureContext.last.source}
<#else>${el.screenCaptureList[0].source}#if>
#if>
#macro>
<#macro row test level>
<#assign n=test level=n.level>
<#if level!=0><#assign n=test.parent><#if n.level!=0><#assign n=n.parent><#if n.level!=0><#assign n=n.parent>#if>#if>#if>
${test.status}
${test.name} <#if level!=0>
${test.parent.name}#if>
${test.runDuration}c
<@attributes test=test />
<@media el=test />
<#list test.logContext.all as log>
<@media el=log />
#list>
<#if test.status==Status.FAIL || test.status==Status.SKIP>
<#list test.logContext.all as log>
<#if log.details??>#if>
<#if log.exceptionInfo??>#if>
#list>
#if>
#macro>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy