freemarker.home.ftl Maven / Gradle / Ivy
Serenity Reports
<#include "libraries/common.ftl">
<#include "libraries/jquery-ui.ftl">
<#include "libraries/datatables.ftl">
<#assign pie = true>
<#include "libraries/jqplot.ftl">
<#include "components/tag-list.ftl">
<#include "components/test-outcomes.ftl">
<#assign successfulManualTests = (testOutcomes.count("manual").withResult("SUCCESS") > 0)>
<#assign pendingManualTests = (testOutcomes.count("manual").withResult("PENDING") > 0)>
<#assign ignoredManualTests = (testOutcomes.count("manual").withResult("IGNORED") > 0)>
<#assign failingManualTests = (testOutcomes.count("manual").withResult("FAILURE") > 0)>
<#assign tagsTitle = 'Related Tags' >
<#if (testOutcomes.label == '')>
<#assign resultsContext = ''>
<#assign pageTitle = 'Test Results: All Tests' >
<#else>
<#assign resultsContext = '> ' + testOutcomes.label>
<#if (currentTagType! != '')>
<#assign pageTitle = " " + inflection.of(currentTagType!"").asATitle() + ': ' + inflection.of(testOutcomes.label).asATitle() >
<#else>
<#assign pageTitle = inflection.of(testOutcomes.label).asATitle() >
#if>
#if>
<#---->
<#include "menu.ftl">
<@main_menu selected="home" />
${pageTitle}
${testOutcomes.totalTestScenarios}
test scenarios <#if (testOutcomes.hasDataDrivenTests())>(${testOutcomes.total} tests in all, including ${testOutcomes.totalDataRows}
rows of test data)#if>
<#assign successReport = reportName.withPrefix(currentTag).forTestResult("success") >
<#assign failureReport = reportName.withPrefix(currentTag).forTestResult("failure") >
<#assign errorReport = reportName.withPrefix(currentTag).forTestResult("error") >
<#assign compromisedReport = reportName.withPrefix(currentTag).forTestResult("compromised") >
<#assign pendingReport = reportName.withPrefix(currentTag).forTestResult("pending") >
<#assign skippedReport = reportName.withPrefix(currentTag).forTestResult("skipped") >
<#assign ignoredReport = reportName.withPrefix(currentTag).forTestResult("ignored") >
<#assign totalCount = testOutcomes.totalTests.total >
<#assign successCount = testOutcomes.totalTests.withResult("success") >
<#assign pendingCount = testOutcomes.totalTests.withResult("pending") >
<#assign ignoredCount = testOutcomes.totalTests.withResult("ignored") >
<#assign skippedCount = testOutcomes.totalTests.withResult("skipped") >
<#assign failureCount = testOutcomes.totalTests.withResult("failure") >
<#assign errorCount = testOutcomes.totalTests.withResult("error") >
<#assign compromisedCount = testOutcomes.totalTests.withResult("compromised") >
${successCount}
<#if (successCount > 0 && report.shouldDisplayResultLink)>
passed
<#else>passed#if>,
${pendingCount}
<#if (pendingCount > 0 && report.shouldDisplayResultLink)>
pending
<#else>pending#if>,
${failureCount}
<#if (failureCount > 0 && report.shouldDisplayResultLink)>
failed
<#else>failed#if>,
${errorCount}
<#if (errorCount > 0 && report.shouldDisplayResultLink)>
with errors
<#else>errors#if>,
${compromisedCount}
<#if (compromisedCount > 0 && report.shouldDisplayResultLink)>
compromised tests
<#else>compromised#if>,
${ignoredCount}
<#if (ignoredCount > 0 && report.shouldDisplayResultLink)>
ignored
<#else>ignored#if>,
${skippedCount}
<#if (skippedCount > 0 && report.shouldDisplayResultLink)>
skipped
<#else>skipped#if>
<#if (csvReport! != '')>
[CSV]
#if>
Show/Hide Pie Chart
<#include "test-result-summary.ftl"/>
<#if reportOptions.showRelatedTags>
<@list_tags weighted="false"/>
#if>
Show/Hide Pie
Chart
<#include "test-result-summary.ftl"/>
<#if reportOptions.showRelatedTags>
<@list_tags weighted="true"/>
#if>
<@test_results testOutcomes=testOutcomes title="Tests" id="test-results-table"/>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy