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

com.aventstack.extentreports.view.v3html.v3-html-index.ftl Maven / Gradle / Ivy

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

<#assign parentCount=report.reportStatusStats.parentCount>
<#assign childCount=report.reportStatusStats.childCount>
<#assign grandChildCount=report.reportStatusStats.grandChildCount>
<#assign theme=config.containsConfig('theme')?then(config.getConfig('theme')?lower_case, 'standard')>
<#assign testViewChartLocation=config.containsConfig('chartLocation')?then(config.getConfig('chartLocation')?lower_case, 'top')>
<#assign chartVisibleOnOpen=config.containsConfig('chartVisibilityOnOpen')?then(config.getConfig('chartVisibilityOnOpen'), 'false')>
<#assign klovUrl=config.containsConfig('klov-url')?then(config.getConfig('klov-url'), '')>
<#assign disableToggleActionForPassedNode=config.containsConfig('disableToggleActionForPassedNode')?then(config.getConfig('disableToggleActionForPassedNode'), '')>
<#assign enableTimeline=config.containsConfig('enableTimeline')?then(config.getConfig('enableTimeline'), 'true')>
<#assign bddReport=false>
<#assign bddClass=''>
<#if report.testList?? && report.testList?size != 0>
<#assign firstTest=report.testList[0]>
<#assign bddReport = (TestService.testHasChildren(firstTest) && firstTest.nodeContext.get(0).isBehaviorDrivenType())?then(true, false)>

<#assign parentViewChartsHeading='Classes' childViewChartsHeading='Tests' grandChildViewChartsHeading='Steps'>
<#assign parentLabel='class(es)' childLabel='test(s)' grandChildLabel='log(s)'>
<#if bddReport>
<#assign parentViewChartsHeading='Features' childViewChartsHeading='Scenarios' grandChildViewChartsHeading='Steps'>
<#assign parentLabel='feature(s)' childLabel='scenario(s)' grandChildLabel='step(s)'>
<#assign bddClass='bdd-report'>
<#else>
<#if (childCount == 0 || grandChildCount == 0)>
<#assign parentViewChartsHeading='Tests' childViewChartsHeading='Steps' grandChildViewChartsHeading=''>
<#assign parentLabel='test(s)' childLabel='step(s)' grandChildLabel=''>

<#if report.analysisStrategy?string == 'SUITE'>
<#assign parentViewChartsHeading='Suites' childViewChartsHeading='Tests' grandChildViewChartsHeading='Test Methods'>
<#assign parentLabel='suite(s)' childLabel='test(s)' grandChildLabel='method(s)'>



<#assign timeStampFormat = config.getConfig('timeStampFormat')>
<#assign resourceCDN=config.getConfig('resourceCDN') cdnURI="cdn.jsdelivr.net/gh/extent-framework/extent-github-cdn@" csscommit="ff53917fbbdb5ef820abbbe4d199a6942dc771ff" jscommit="ff53917fbbdb5ef820abbbe4d199a6942dc771ff">
<#if resourceCDN=="extentreports">
    <#assign cdnURI="extentreports.com/resx" csscommit="" jscommit="">


<#include "../commons/commons-variables.ftl">



	<#include 'v3-html-head.ftl'>
	
		
desktop_windows
<#include 'v3-html-nav.ftl'>
<#include 'test-view/v3-html-test-view.ftl'> <#if config.getConfig('enableCategoryView')?? && config.getConfig('enableCategoryView') == 'true'> <#include 'category-view/v3-html-category-view.ftl'> <#if config.getConfig('enableExceptionView')?? && config.getConfig('enableExceptionView') == 'true'> <#include 'exception-view/v3-html-exception-view.ftl'> <#if config.getConfig('enableAuthorView')?? && config.getConfig('enableAuthorView') == 'true'> <#include 'author-view/v3-html-author-view.ftl'> <#include 'dashboard-view/v3-html-dashboard-view.ftl'> <#if config.getConfig('enableTestRunnerLogsView')?? && config.getConfig('enableTestRunnerLogsView') == 'true'> <#include 'logs-view/v3-html-testrunner-logs-view.ftl'>
<#if enableTimeline=='true'> <#if offline=="true"> <#else> <#assign hide=(chartVisibleOnOpen=='true')?then(false, true)> <#if hide>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy