summaryrefslogtreecommitdiffstats
path: root/reporting/functest/template
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2016-05-19 14:41:23 +0200
committerMorgan Richomme <morgan.richomme@orange.com>2016-05-19 14:44:36 +0200
commitf9f9b174c8593d007c05aaf5239a223cc9c2f3ba (patch)
tree2dc87df8e7502678d6cf6ad989e861411e6f8ffa /reporting/functest/template
parent09f38fb67b1caeb4ccd33b83120842fbad306f78 (diff)
Adapt reporting after Functest refactoring
Get test cases from cases declares in Tiers Consider only Tier 0-3 to validate scenario Display results for Tier > 3 Change-Id: I581702bd7f2cc323d38b82a2404b301fb8fd7840 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
Diffstat (limited to 'reporting/functest/template')
-rw-r--r--reporting/functest/template/index-status-tmpl.html18
1 files changed, 12 insertions, 6 deletions
diff --git a/reporting/functest/template/index-status-tmpl.html b/reporting/functest/template/index-status-tmpl.html
index 7a0656b..89a1d15 100644
--- a/reporting/functest/template/index-status-tmpl.html
+++ b/reporting/functest/template/index-status-tmpl.html
@@ -74,20 +74,25 @@
<table class="table">
<tr>
{% for test in items[scenario] -%}
- <th>{{test.getName() }}</th>
+ <th>
+ {% if test.getCriteria() > -1 -%}
+ {{test.getDbName() }}
+ {%- endif %}
+ {% if test.getTier() > 3 -%}
+ *
+ {%- endif %}
+ </th>
{%- endfor %}
</tr>
<tr class="tr-weather-weather">
- {% for test in items[scenario] -%}
- {% if test.isRunnable is sameas false -%}
- <td>N.R</td>
- {% elif test.getCriteria() > 2 -%}
+ {% for test in items[scenario] -%}
+ {% if test.getCriteria() > 2 -%}
<td><img src="../../img/weather-clear.png"></td>
{%- elif test.getCriteria() > 1 -%}
<td><img src="../../img/weather-few-clouds.png"></td>
{%- elif test.getCriteria() > 0 -%}
<td><img src="../../img/weather-overcast.png"></td>
- {%- else -%}
+ {%- elif test.getCriteria() > -1 -%}
<td><img src="../../img/weather-storm.png"></td>
{%- endif %}
{%- endfor %}
@@ -96,6 +101,7 @@
</div>
</div>
{%- endfor %}
+ *: not used for scenario validation
</div>
<div class="col-md-1"></div>
</div>