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 2019 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 = "">
<#else>
    <#assign base = "./..">
    <#assign headline = "All Scenarios">
    <#assign pageName = "All Scenarios">
    <#assign highlight = "scenario_summary">
    <#assign subheadline = "">
    <#assign subsubheadline = "">
    <#assign preheadline = "">
    <#assign preheadlineLink = "">


<@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/>
    

    
<@page.card width="6" title="Scenario Results" subtitle="" classes=""> <@page.graph /> <@page.card width="3" title="Test Suite Time" subtitle="" classes="">
    <#assign startDateTimeString = returnStartDateTimeString()> <#if startDateTimeString?has_content>
  • Started on:
    ${startDateTimeString}
  • <#assign endDateTimeString = returnEndDateTimeString()> <#if endDateTimeString?has_content>
  • Ended on:
    ${endDateTimeString}
  • Test Runtime:
    ${totalDurationString}
<@page.card width="3" title="Test Suite Summary" subtitle="" classes="">
<#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 />




© 2015 - 2024 Weber Informatics LLC | Privacy Policy