com.relevantcodes.extentreports.view.Extent.Offline.ftl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of extentreports Show documentation
Show all versions of extentreports Show documentation
An open-source reporting library for Java, .Net and Ruby.
<#assign dateFormat = report.configurationMap["dateFormat"]>
<#assign timeFormat = report.configurationMap["timeFormat"]>
<#assign dateTimeFormat = report.configurationMap["dateFormat"] + " " + report.configurationMap["timeFormat"]>
<#if report.configurationMap??>
${report.configurationMap["documentTitle"]}
#if>
<#assign theme = ''>
<#if report.configurationMap??>
<#assign theme = report.configurationMap["theme"]>
#if>
${resourceBundle.getString("dashboard.panel.name.totalTests")}
${resourceBundle.getString("dashboard.panel.name.totalSteps")}
${resourceBundle.getString("dashboard.panel.name.totalTimeTaken.current")}
${report.getRunDuration()}
${resourceBundle.getString("dashboard.panel.name.totalTimeTaken.overall")}
${report.getRunDurationOverall()}
${resourceBundle.getString("dashboard.panel.name.start")}
${report.startedTime?datetime?string(dateTimeFormat)}
${resourceBundle.getString("dashboard.panel.name.end")}
${.now?datetime?string(dateTimeFormat)}
${resourceBundle.getString("dashboard.panel.name.passPercentage")}
${resourceBundle.getString("dashboard.panel.name.environment")}
${resourceBundle.getString("dashboard.panel.th.param")}
${resourceBundle.getString("dashboard.panel.th.value")}
<#list report.systemInfoMap?keys as info>
${info}
${report.systemInfoMap[info]}
#list>
<#if report.categoryTestMap?? && (report.categoryTestMap?size != 0)>
${resourceBundle.getString("dashboard.panel.name.categories")}
${resourceBundle.getString("dashboard.panel.th.name")}
<#list report.categoryTestMap?keys as category>
${category}
#list>
#if>
${resourceBundle.getString("tests.heading")}
- Pass
- Fail
<#if report.logStatusList?? && report.logStatusList?seq_contains(LogStatus.FATAL)>
- Fatal
#if>
<#if report.logStatusList?? && report.logStatusList?seq_contains(LogStatus.ERROR)>
- Error
#if>
<#if report.logStatusList?? && report.logStatusList?seq_contains(LogStatus.WARNING)>
- Warning
#if>
- Skip
<#if report.logStatusList?? && report.logStatusList?seq_contains(LogStatus.UNKNOWN)>
- Unknown
#if>
- ${resourceBundle.getString("tests.filters.clearFilters")}
<#if report.categoryTestMap?? && report.categoryTestMap?size != 0>
<#list report.categoryTestMap?keys as category>
- ${category}
#list>
- ${resourceBundle.getString("tests.filters.clearFilters")}
#if>
·
·
<#list report.testList as extentTest>
<#assign test = extentTest.getTest()>
-
${test.name} <#if test.internalWarning??>#if>
${test.status}
${test.startedTime?datetime?string(dateTimeFormat)}
<#if test.endedTime??>${test.endedTime?datetime?string(dateTimeFormat)}#if>
<#if test.endedTime??>${test.getRunDuration()}#if>
${test.description}
<#if test.categoryList?? && test.categoryList?size != 0>
<#list test.categoryList as category>
${category.name}
#list>
#if>
<#if test.authorsList?? && test.authorsList?size != 0>
#if>
${resourceBundle.getString("tests.test.log.th.status")}
${resourceBundle.getString("tests.test.log.th.timestamp")}
<#if (test.logList[0].stepName)??>
StepName
#if>
${resourceBundle.getString("tests.test.log.th.details")}
<#list test.logList as log>
${log.timestamp?datetime?string(timeFormat)}
<#if test.logList[0].stepName?? && log.stepName??>
${log.stepName}
#if>
${log.details}
#list>
<#if test.nodeList?? && test.nodeList?has_content>
<@recurse_nodes nodeList=test.nodeList depth=1 />
<#macro recurse_nodes nodeList depth>
<#list nodeList as node>
-
${node.startedTime?datetime?string(dateTimeFormat)}
${node.endedTime?datetime?string(dateTimeFormat)}
${node.getRunDuration()}
${node.status}
${node.name}
<#if node.description??>
${node.description}
#if>
${resourceBundle.getString("tests.test.log.th.status")}
${resourceBundle.getString("tests.test.log.th.timestamp")}
<#if (node.logList[0].stepName)??>
StepName
#if>
${resourceBundle.getString("tests.test.log.th.details")}
<#list node.logList as log>
${log.timestamp?datetime?string(timeFormat)}
<#if node.logList[0].stepName?? && log.stepName??>
${log.stepName}
#if>
${log.details}
#list>
<@recurse_nodes nodeList=node.nodeList depth=depth+1 />
#list>
#macro>
#if>
#list>
<#if report.categoryTestMap?? && (report.categoryTestMap?size != 0)>
#if>
<#if report.exceptionTestMap?? && (report.exceptionTestMap?size > 0)>
#if>
<#if report.testRunnerLogList?? && (report.testRunnerLogList?size != 0)>
#if>