X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=utils%2Ftest%2Freporting%2Ffunctest%2Ftemplate%2Findex-status-tmpl.html;h=96240de5b1d560bbea3703be36bc747ca9dfef23;hb=909974639506803e066833ac826a0d93c74cad82;hp=da2213bc02d1a29298b34c50d4db698e241913f3;hpb=caab2d90b65086b87d909eb50c189cb732ab8be5;p=releng.git diff --git a/utils/test/reporting/functest/template/index-status-tmpl.html b/utils/test/reporting/functest/template/index-status-tmpl.html index da2213bc0..96240de5b 100644 --- a/utils/test/reporting/functest/template/index-status-tmpl.html +++ b/utils/test/reporting/functest/template/index-status-tmpl.html @@ -48,11 +48,33 @@ {% for scenario,iteration in scenario_stats.iteritems() -%} {{scenario}} - {%if scenario_results[scenario].getStatus() is sameas "OK" -%} - - {%- else -%} - - {%- endif %} + {%if scenario_results[scenario].getScorePercent() < 8.3 -%} + + {%elif scenario_results[scenario].getScorePercent() < 16.7 -%} + + {%elif scenario_results[scenario].getScorePercent() < 25 -%} + + {%elif scenario_results[scenario].getScorePercent() < 33.3 -%} + + {%elif scenario_results[scenario].getScorePercent() < 41.7 -%} + + {%elif scenario_results[scenario].getScorePercent() < 50 -%} + + {%elif scenario_results[scenario].getScorePercent() < 58.3 -%} + + {%elif scenario_results[scenario].getScorePercent() < 66.7 -%} + + {%elif scenario_results[scenario].getScorePercent() < 75 -%} + + {%elif scenario_results[scenario].getScorePercent() < 83.3 -%} + + {%elif scenario_results[scenario].getScorePercent() < 91.7 -%} + + {%elif scenario_results[scenario].getScorePercent() < 100 -%} + + {%- else -%} + + {%- endif %} {{scenario_results[scenario].getScore()}} {{iteration}} @@ -78,14 +100,14 @@ {% if test.getCriteria() > -1 -%} {{test.getDisplayName() }} {%- endif %} - {% if test.getTier() > 3 -%} + {% if test.getTier() > 3 -%} * {%- endif %} - + {%- endfor %} - {% for test in items[scenario] -%} + {% for test in items[scenario] -%} {% if test.getCriteria() > 2 -%} {%- elif test.getCriteria() > 1 -%}