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

com.aventstack.extentreports.view.logger.logger-test.ftl Maven / Gradle / Ivy

There is a newer version: 5.1.1
Show newest version
<#include "../commons/commons-variables.ftl">



	<#include "partials/logger-head.ftl">
	
	
		
<#include "partials/logger-nav.ftl">
Test Logs
<#macro content test> <#assign spacer="" level=test.level> <#if level!=0> <#if level!=1> <#list 2..level as l> <#assign spacer+="    "> <#assign spacer+="|---">
${test.startTime?string("MM.dd.yyyy HH:mm:ss")}  ${test.status?replace("ing","")}<#list test.status.toString()?replace("ing","")?length..5 as x>  ${spacer}[${test.name}] started <@attributes test=test /> <#list test.logContext.all as log>
${log.timestamp?string("MM.dd.yyyy HH:mm:ss")}  ${log.status?replace("ing","")}<#list log.status.toString()?replace("ing","")?length..5 as x>  ${spacer}[${test.name}] <#if LogService.logHasScreenCapture(log)>${log.screenCaptureContext.last.source} <#if log.details??>${log.details}<#if log.exceptionInfo??>threw an exception
<#macro attributes test> <#if TestService.testHasCategory(test)> <#list test.categoryContext.all as category> ${category.name} <#if TestService.testHasCategory(test)> <#list test.authorContext.all as author> ${author.name} <#if TestService.testHasCategory(test)> <#list test.deviceContext.all as device> ${device.name} <#list report.testList as test>
<@content test=test /> <#list test.nodeContext.all as node> <@content test=node /> <#list node.nodeContext.all as c> <@content test=c /> <#list c.nodeContext.all as gc> <@content test=gc />
<#assign p="https://cdn.jsdelivr.net/gh/extent-framework/extent-github-cdn@832f979664f9d68bf618db3ac87498ac6c1a6390/logger/js/"> <#if offline=="true"><#assign p=config.getConfig("offlineDirectory")> <#if config.containsConfig("scripts") && config.getConfig("scripts")?has_content> <#include "../commons/commons-inject-js.ftl">




© 2015 - 2024 Weber Informatics LLC | Privacy Policy