All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aventstack.extentreports.view.commons.commons-macros.ftl Maven / Gradle / Ivy

<#macro attributes test>
	<#if TestService.testHasCategory(test)>
		
		<#list test.categoryContext.all as category>
		 ${category.name}
		
		
	
	<#if TestService.testHasAuthor(test)>
		
		<#list test.authorContext.all as author>
		 ${author.name}
		
		
	
	<#if TestService.testHasDevice(test)>
		
		<#list test.deviceContext.all as device>
		 ${device.name}
		
		
	


<#macro media el>
	<#if el.screenCaptureContext?? && !el.screenCaptureContext.isEmpty()>
		${el.screenCaptureContext.last.source}
	


<#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>
	

	${test.status}
	${test.name} <#if level!=0>
${test.parent.name} ${TestService.getRunDuration(test)}c <@attributes test=test /> <@media el=test /> <#list test.logContext.all as log> <@media el=log /> <#if test.status==Status.FAIL || test.status==Status.SKIP> <#list test.logContext.all as log> <#if log.details??> <#if log.exceptionInfo??>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy