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

freemarker.screenshots.ftl Maven / Gradle / Ivy

There is a newer version: 4.2.9
Show newest version




    
    Screenshots

    

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

    




${reportOptions.projectName}
<#-- 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().inExtraLarge().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 = "[" + formatter.addLinks(parentRequirement.get().cardNumber) + "]" > <#else> <#assign issueNumber = "">

${parentTitle} ${issueNumber} ${parentType}

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

${parentTitle} ${parentType}

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

${testOutcome.backgroundDescription}

 ${tagTitle} (${tag.type})

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

Scenario:

${formatter.formatWithFields(testOutcome.dataDrivenSampleScenario, testOutcome.exampleFields)}
<#if testOutcome.failureDetails.conciseErrorMessage??>
${testOutcome.result}: ${testOutcome.failureDetails.conciseErrorMessage}
<#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}">
Serenity BDD version ${serenityVersionNumber}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy