
freemarker.default.ftl Maven / Gradle / Ivy
${testOutcome.unqualified.title}
<#include "libraries/favicon.ftl">
<#include "libraries/common.ftl">
<#include "libraries/jquery-ui.ftl">
<#include "libraries/datatables.ftl">
<#include "libraries/imgpreview.ftl">
<#include "components/report-data.ftl">
<#include "components/stacktrace.ftl">
<#-- 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 == "ABORTED"><#assign outcome_text = "aborted-color">
<#elseif testOutcome.result == "COMPROMISED"><#assign outcome_text = "compromised-color">
<#else><#assign outcome_text = "ignore-color">
#if>
<#assign title_outcome_icon = formatter.resultIcon().inLarge().forResult(testOutcome.result) />
<#-- TEST TITLE -->
#if>
Scenario Outline
${formatter.formatWithFields(testOutcome.dataDrivenSampleScenario)}
Examples:<#if dataSet.name??> ${dataSet.name}#if>
<#if dataSet.description??>${dataSet.description}
#if>
<#if dataSet.tags??>
<#list dataSet.tags as exampleTag> <#assign exampleTagReport = absoluteReportName.forRequirementOrTag(exampleTag) /> <#assign exampleTagTitle = inflection.of(exampleTag.shortName).asATitle() > <#assign tagStyle = styling.tagStyleFor(tag) > ${formatter.htmlCompatible(exampleTagTitle)} (${exampleTag.type}) #list>
#if># | <#list testOutcome.dataTable.headers as header>${inflection.of(header).asATitle()} | #list>
---|---|
${rowIndex + 1} | <#list row.values as value> <#if testOutcome.manual> <#assign roeResult = testOutcome.result/> <#else> <#assign roeResult = row.result/> #if>${formatter.plainHtmlCompatible(value)} | #list>
<#if (testOutcome.manual)> #if> | <#if (testOutcome.manual)>Manual #if> Steps | <#if testOutcome.hasScreenshots()>Screenshots | #if>Outcome | ||||
---|---|---|---|---|---|---|---|
<#if step_number?has_content>#if>
<#if showAccordion>
<#--${step_outcome_icon}-->
<#--![]() |
<#-- DESCRIPTION -->
<#if showAccordion>
#if>
<#if step.hasRestQuery()>
${formatter.restQuery(step.description)}
<#else>
${formatter.formatWithFields(step.description)}
#if>
<#if showAccordion>
#if>
<#if step.hasRestQuery()>
<#assign restDataNumber = "REST-${step.number}">
<@restQueryData restQuery=step.restQuery number=restDataNumber />
#if>
<#if step.hasData()>
<#list step.reportData as recordedData>
<#assign stepIndex=recordedData?index>
<#assign restDataNumber = "EVIDENCE-${step.number}-${stepIndex}">
<@reportData reportData=recordedData number=restDataNumber />
#list>
#if>
<#if (step.externalLink)?? && (step.externalLink.url)??>
#if>
|
<#-- SCREENSHOTS -->
<#if testOutcome.hasScreenshots()>
<#if step.hasMultipleScreenshots() >
|
#if>
<#-- OUTCOME & TIME -->
${step.result} | ${step.formattedDuration} | |||
  | <#if step.errorMessage?has_content> <#assign errorMessageTitle = step.errorMessage?html> <#else> <#assign errorMessageTitle = ""> #if> <#if testOutcome.hasScreenshots()>|||||||
${step_outcome_icon} | <#if testOutcome.hasScreenshots()><#else> | #if> <#if testOutcome.errorMessage?has_content> ${testOutcome.errorMessage} <#else> An error occurred outside of step execution #if> | ${formatter.htmlCompatibleStepDescription(testOutcome.result)} | ${testOutcome.durationInSeconds}s | |||
  | <#if testOutcome.hasScreenshots()><#else> | #if> <#if (testOutcome.errorMessage)??> <#if (testOutcome.nestedTestFailureCause)??> <#assign formattedErrorMessageTitle = formatter.htmlAttributeCompatible(testOutcome.errorMessage, true) /> <@stacktrace title=formattedErrorMessageTitle cause=testOutcome.nestedTestFailureCause id="overall" /> #if> #if> | |||||
<#else> | #if> | ${testOutcome.result} | ${testOutcome.durationInSeconds}s |
Serenity BDD version ${serenityVersionNumber!"SNAPSHOT-BUILD"}