From 13eec3d9f460a3a8818da6c8b388ccfd89bdf69f Mon Sep 17 00:00:00 2001 From: Morgan Richomme Date: Fri, 25 Aug 2017 16:05:06 +0200 Subject: [PATCH] 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 --- .../functest/template/index-status-tmpl.html | 29 ++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) 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}}
+ + -- 2.16.6