![JAR search and dependency download from the Maven repository](/logo.png)
template.scenario-summary.ftl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cluecumber-engine Show documentation
Show all versions of cluecumber-engine Show documentation
The Cluecumber reporting engine.
The newest version!
<#--
Copyright 2023 trivago N.V.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<#import "macros/page.ftl"as page>
<#import "macros/scenario.ftl" as scenario>
<#import "macros/common.ftl" as common>
<#import "macros/navigation.ftl" as navigation>
<#import "macros/custom-parameters.ftl" as customparams>
<#if (tagFilter??)>
<#assign base = "./../..">
<#assign headline = "Scenarios tagged with '${tagFilter.name}'">
<#assign pageName = "Tagged Scenarios">
<#assign highlight = "tag_summary">
<#assign subheadline = "">
<#assign subsubheadline = "">
<#assign preheadline = "">
<#assign preheadlineLink = "">
<#elseif (featureFilter??)>
<#assign base = "./../..">
<#assign headline = "Scenarios in Feature">
<#assign pageName = "Scenarios in Feature">
<#assign highlight = "feature_summary">
<#assign subheadline = "${featureFilter.description?html}">
<#assign subsubheadline = "${featureFilter.uri}">
<#assign preheadline = "${featureFilter.name}">
<#assign preheadlineLink="pages/feature-scenarios/feature_${featureFilter.index?c}.html">
<#elseif (stepFilter??)>
<#assign base = "./../..">
<#assign headline = "Scenarios using Step '${stepFilter.returnNameWithArgumentPlaceholders()}'">
<#assign pageName = "Scenarios with Step">
<#assign highlight = "step_summary">
<#assign subheadline = "">
<#assign subsubheadline = "">
<#assign preheadline = "">
<#assign preheadlineLink = "">
<#elseif (scenarioSequence??)>
<#assign base = "./..">
<#assign headline = "Scenario Sequence">
<#assign pageName = "Scenario Sequence">
<#assign highlight = "scenario_sequence">
<#assign subheadline = "">
<#assign subsubheadline = "">
<#assign preheadline = "">
<#assign preheadlineLink = "">
<#elseif (reruns??)>
<#assign base = "./..">
<#assign headline = "Rerun Scenarios">
<#assign pageName = "Rerun Scenarios">
<#assign highlight = "rerun_scenarios">
<#assign subheadline = "">
<#assign subsubheadline = "">
<#assign preheadline = "">
<#assign preheadlineLink = "">
<#else>
<#assign base = "./..">
<#assign headline = "All Scenarios">
<#assign pageName = "All Scenarios">
<#assign highlight = "scenario_summary">
<#assign subheadline = "">
<#assign subsubheadline = "">
<#assign preheadline = "">
<#assign preheadlineLink = "">
#if>
<@page.page
title="${pageTitle} - ${pageName}"
base=base
highlight=highlight
headline=headline
subheadline=subheadline
subsubheadline=subsubheadline
preheadline=preheadline
preheadlineLink=preheadlineLink>
<#if hasCustomParameters()>
<@customparams.card customParams=customParameters/>
#if>
<@page.card width="6" title="Scenario Results" subtitle="" classes="">
<@page.graph />
@page.card>
<@page.card width="3" title="Scenario Summary" subtitle="" classes="">
-
${totalNumberOfScenarios} ${common.pluralizeFn("Scenario", totalNumberOfScenarios)}
-
<#if (scenarioSequence??)>
${totalNumberOfPassedScenarios} passed <@common.status status="passed"/>
${totalNumberOfFailedScenarios} failed <@common.status status="failed"/>
${totalNumberOfSkippedScenarios} skipped <@common.status status="skipped"/>
<#else>
${totalNumberOfPassedScenarios}
passed <@common.status status="passed"/>
${totalNumberOfFailedScenarios}
failed <@common.status status="failed"/>
${totalNumberOfSkippedScenarios}
skipped <@common.status status="skipped"/>
#if>
<#if hasMultiRunChildren()>
#if>
@page.card>
<@page.card width="3" title="Test Suite Info" subtitle="" classes="">
<#assign startDateTimeString = returnStartDateTimeString()>
-
<#if startDateTimeString?has_content>
Start
${startDateTimeString}
#if>
<#assign endDateTimeString = returnEndDateTimeString()>
<#if endDateTimeString?has_content>
End
${endDateTimeString}
#if>
Total
${totalDurationString}
@page.card>
<#if (scenarioSequence??)>
<@scenario.table status="all" numberOfScenarios=totalNumberOfScenarios />
<#else>
<@scenario.table status="failed" numberOfScenarios=totalNumberOfFailedScenarios />
<@scenario.table status="skipped" numberOfScenarios=totalNumberOfSkippedScenarios />
<@scenario.table status="passed" numberOfScenarios=totalNumberOfPassedScenarios />
#if>
@page.page>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy