summaryrefslogtreecommitdiffstats
path: root/reporting/functest/template
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2016-05-04 16:19:09 +0200
committerMorgan Richomme <morgan.richomme@orange.com>2016-05-04 16:19:46 +0200
commit0da31763d7da753f711dadac64aceae129e075cd (patch)
tree8eb4ce9c8aa53962e3556c5276146e2e8842cb11 /reporting/functest/template
parentfba1568ffef5022be000e6d48ba781f1f7cbc0f3 (diff)
Add global scenario reporting
Save date when a scenario is validated Change-Id: I0895ae56812c7059972a60bf017fdb76d40de25c Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
Diffstat (limited to 'reporting/functest/template')
-rw-r--r--reporting/functest/template/index-status-tmpl.html13
1 files changed, 10 insertions, 3 deletions
diff --git a/reporting/functest/template/index-status-tmpl.html b/reporting/functest/template/index-status-tmpl.html
index 604f2c8..7a0656b 100644
--- a/reporting/functest/template/index-status-tmpl.html
+++ b/reporting/functest/template/index-status-tmpl.html
@@ -40,12 +40,20 @@
<div class="panel-heading"><h4><b>List of last scenarios ({{version}}) run over the last {{period}} days </b></h4></div>
<table class="table">
<tr>
- <th width="80%">Scenario</th>
- <th width="20%">Iteration</th>
+ <th width="60%">Scenario</th>
+ <th width="20%">Status</th>
+ <th width="10%">Score</th>
+ <th width="10%">Iteration</th>
</tr>
{% for scenario,iteration in scenario_stats.iteritems() -%}
<tr class="tr-ok">
<td>{{scenario}}</td>
+ <td>{%if scenario_results[scenario].getStatus() is sameas "OK" -%}
+ <img src="../../img/icon-ok.png">
+ {%- else -%}
+ <img src="../../img/icon-nok.png">
+ {%- endif %}</td>
+ <td>{{scenario_results[scenario].getScore()}}</td>
<td>{{iteration}}</td>
</tr>
{%- endfor %}
@@ -53,7 +61,6 @@
</div>
-
{% for scenario, iteration in scenario_stats.iteritems() -%}
<div class="scenario-part">
<div class="page-header">