From: Morgan Richomme Date: Fri, 25 Aug 2017 14:05:06 +0000 (+0200) Subject: Split HA and NOHA scenarios into 2 tables in reporting X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?p=releng.git;a=commitdiff_plain;h=13eec3d9f460a3a8818da6c8b388ccfd89bdf69f Split HA and NOHA scenarios into 2 tables in reporting the goal is to vizualize more quickly the HA and NOHA scenario Note that if no scenario is available, the table title is displayed Change-Id: Ibdade30aadf40fe4f7b9bfe547d23c186cb3e1df Signed-off-by: Morgan Richomme --- diff --git a/utils/test/reporting/reporting/functest/template/index-status-tmpl.html b/utils/test/reporting/reporting/functest/template/index-status-tmpl.html index 74d410e96..50fc648aa 100644 --- a/utils/test/reporting/reporting/functest/template/index-status-tmpl.html +++ b/utils/test/reporting/reporting/functest/template/index-status-tmpl.html @@ -90,7 +90,7 @@ $(document).ready(function (){

List of last scenarios ({{version}}) run over the last {{period}} days

- + @@ -98,14 +98,39 @@ $(document).ready(function (){ {% for scenario,iteration in scenario_stats.iteritems() -%} + {% if '-ha' in scenario -%} + {%- endif %} + + {%- endfor %} +
+
ScenarioHA Scenario Status Trend Score
{{scenario}}
{{scenario_results[scenario].getScore()}} {{iteration}}
+
+ + + + + + + + + {% for scenario,iteration in scenario_stats.iteritems() -%} + + {% if '-noha' in scenario -%} + + + + + + {%- endif %} {%- endfor %} -
NOHA ScenarioStatusTrendScoreIteration
{{scenario}}
{{scenario_results[scenario].getScore()}}{{iteration}}
+ +