diff options
author | Morgan Richomme <morgan.richomme@orange.com> | 2016-03-24 16:51:32 +0100 |
---|---|---|
committer | Morgan Richomme <morgan.richomme@orange.com> | 2016-03-25 11:16:26 +0100 |
commit | 70e38d07f681b165291406cc4e010377c6202041 (patch) | |
tree | 2c24f653f4f1c5257b46f81082cb9c2c3df5aeae /utils/test/reporting/index-status-tmpl.html | |
parent | f770fb90cae6fed096658b480bbf236fef424735 (diff) |
Complete reporting status, process the scenario and get success criteria
Change-Id: Iaf5292293aec877f94e9cdec80519a680fef6718
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
Diffstat (limited to 'utils/test/reporting/index-status-tmpl.html')
-rw-r--r-- | utils/test/reporting/index-status-tmpl.html | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/utils/test/reporting/index-status-tmpl.html b/utils/test/reporting/index-status-tmpl.html index 130ecd5c1..0fd470d6f 100644 --- a/utils/test/reporting/index-status-tmpl.html +++ b/utils/test/reporting/index-status-tmpl.html @@ -37,7 +37,7 @@ </div> <div class="scenario-overview"> - <div class="panel-heading"><h4><b>List of last scenarios run over the last 7 days </b></h4></div> + <div class="panel-heading"><h4><b>List of last scenarios run over the last {{period}} days </b></h4></div> <table class="table"> <tr> <th width="80%">Scenario</th> @@ -72,11 +72,13 @@ </tr> <tr class="tr-weather-weather"> {% for test in items[scenario] -%} - {% if test.getCriteria() > 3 -%} + {% if test.isRunnable is sameas false -%} + <td>N.R</td> + {% elif test.getCriteria() > 2 -%} <td><img src="./img/weather-clear.png"></td> - {%- elif test.getCriteria() > 2 -%} - <td><img src="./img/weather-few-clouds.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 -%} <td><img src="./img/weather-storm.png"></td> |