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

freemarker.screenshots.ftl Maven / Gradle / Ivy





    
    Screenshots

<#include "libraries/favicon.ftl">

<#include "libraries/common.ftl">
<#include "libraries/nivo-slider.ftl">

<#include "components/stacktrace.ftl">

    




${reportOptions.projectName} ${reportOptions.projectSubTitle}
<#-- HEADER -->
<#include "menu.ftl"> <@main_menu selected="home" />
<#if testOutcome.result == "FAILURE"><#assign outcome_text = "failing-color"> <#elseif testOutcome.result == "ERROR"><#assign outcome_text = "error-color"> <#elseif testOutcome.result == "SUCCESS"><#assign outcome_text = "success-color"> <#elseif testOutcome.result == "PENDING"><#assign outcome_text = "pending-color"> <#elseif testOutcome.result == "COMPROMISED"><#assign outcome_text = "compromised-color"> <#else><#assign outcome_text = "ignore-color"> <#assign title_outcome_icon = formatter.resultIcon().inLarge().forResult(testOutcome.result) /> <#-- TEST TITLE-->
<#if (parentRequirement?? && parentRequirement.isPresent())>
<#assign parentTitle = inflection.of(parentRequirement.get().name).asATitle() > <#assign parentType = inflection.of(parentRequirement.get().type).asATitle() > <#if (parentRequirement.get().cardNumber?has_content) > <#assign issueNumber = "[" + reportFormatter.addLinks(parentRequirement.get().cardNumber) + "]" > <#else> <#assign issueNumber = "">

${parentTitle} ${issueNumber} <#assign tagStyle = styling.tagStyleFor(tag) > ${parentType}

${formatter.renderDescription(parentRequirement.get().narrative.renderedText)}
<#elseif (featureOrStory?? && featureOrStory.isPresent())>
<#assign parentTitle = formatter.renderDescription(inflection.of(featureOrStory.get().name).asATitle())> <#assign parentType = inflection.of(featureOrStory.get().type).asATitle() >

${parentTitle} <#assign tagStyle = styling.tagStyleFor(tag) > ${parentType}

${formatter.renderDescription(featureOrStory.get().narrative)}
<#if (testOutcome.backgroundTitle?has_content)>
Background: ${testOutcome.backgroundTitle} <#if (testOutcome.backgroundTitle?has_content)>

${testOutcome.backgroundDescription}

<#list filteredTags as tag> <#assign tagReport = absoluteReportName.forTag(tag) /> <#assign tagTitle = inflection.of(tag.shortName).asATitle() >

<#assign tagStyle = styling.tagStyleFor(tag) >  ${formatter.htmlCompatible(tagTitle)} (${tag.type})

${title_outcome_icon} <#if (testOutcome.videoLink)??> Video ${formatter.htmlCompatibleStoryTitle(testOutcome.unqualified.titleWithLinks)} ${testOutcome.formattedIssues}
<#if (testOutcome.isDataDriven())>

Scenario:

${formatter.formatWithFields(testOutcome.dataDrivenSampleScenario)}
<#if (testOutcome.result == "FAILURE" || testOutcome.result == "ERROR")>
<#--
${testOutcome.result}: ${formatter.htmlAttributeCompatible(testOutcome.failureDetails.conciseErrorMessage, 40)}
--> <#if (testOutcome.errorMessage)??> <#if (testOutcome.nestedTestFailureCause)??> <@stacktrace title=formatter.htmlAttributeCompatible(testOutcome.conciseErrorMessage) cause=testOutcome.nestedTestFailureCause id="overall" /> <#else>
${formatter.htmlAttributeCompatible(testOutcome.conciseErrorMessage, 244)}
<#foreach screenshot in screenshots> <#if screenshot_has_next> <#assign caption = "${screenshot.html.description}"> <#else> <#if testOutcome.conciseErrorMessage??> <#assign caption = "${screenshot.html.description}: ${testOutcome.result}"> <#else> <#assign caption = "${screenshot.html.description}"> <#list 0..
<#macro repeat input times> <#list 0..${input}
Serenity BDD version ${serenityVersionNumber!"SNAPSHOT-BUILD"}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy