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

template.scenario-summary.ftl Maven / Gradle / Ivy

There is a newer version: 2.9.4
Show newest version
<#--
Copyright 2018 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>

<#if (tagFilter??)>
    <#assign base = "./../..">
    <#assign headline = "Scenarios Tagged With ${tagFilter.name}">
    <#assign links = ["feature_summary", "tag_summary", "step_summary", "scenario_sequence", "scenario_summary"]>
<#elseif (featureFilter??)>
    <#assign base = "./../..">
    <#assign headline = "Scenarios in Feature
${featureFilter.name}"> <#assign links = ["feature_summary", "tag_summary", "step_summary", "scenario_sequence", "scenario_summary"]> <#elseif (stepFilter??)> <#assign base = "./../.."> <#assign headline = "Scenarios using Step
${stepFilter.returnNameWithArgumentPlaceholders()}"> <#assign links = ["feature_summary", "tag_summary", "step_summary", "scenario_sequence", "scenario_summary"]> <#elseif (scenarioSequence??)> <#assign base = "./.."> <#assign headline = "Scenario Sequence"> <#assign links = ["feature_summary", "tag_summary", "step_summary", "scenario_summary"]> <#else> <#assign base = "."> <#assign headline = "All Scenarios"> <#assign links = ["feature_summary", "tag_summary", "step_summary", "scenario_sequence"]> <@page.page base=base links=links headline=headline subheadline="" preheadline="" preheadlineLink=""> <#if hasCustomParameters()>
<@page.card width="12" title="" subtitle="" classes=""> <#list customParameters as customParameter>
${customParameter.key}: <#if customParameter.url> ${customParameter.value} <#else> ${customParameter.value}
<@page.card width="8" title="Scenario Result Chart" subtitle="" classes=""> <@page.graph /> <@page.card width="4" title="Scenario Summary" subtitle="" classes="">
  • ${totalNumberOfScenarios} Scenario(s):
    ${totalNumberOfPassedScenarios} <@common.status status="passed"/> ${totalNumberOfFailedScenarios} <@common.status status="failed"/> ${totalNumberOfSkippedScenarios} <@common.status status="skipped"/>
  • Duration: ${totalDurationString}
<#if (scenarioSequence??)> <@scenario.table status="all"/> <#else> <@scenario.table status="failed"/> <@scenario.table status="skipped"/> <@scenario.table status="passed"/>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy