aboutsummaryrefslogtreecommitdiffstats
path: root/src/onaptests/templates/reporting/reporting.html.j2
diff options
context:
space:
mode:
authorMichal Jagiello <michal.jagiello@t-mobile.pl>2021-02-15 21:33:17 +0000
committerMichal Jagiello <michal.jagiello@t-mobile.pl>2021-02-16 10:19:54 +0000
commitca74c6ae7ad7dfd03f547fcd706bdfcdde1b20b4 (patch)
tree12a18725fb8ba56a7d8dd8b9653fc03417384374 /src/onaptests/templates/reporting/reporting.html.j2
parent1b96f9912524dddf6d656e096626800df32db0be (diff)
[TEST] Collect steps cleanup reports
Collect reports of steps cleanup and present them in report Issue-ID: TEST-305 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: Ie288c85a381c6c53e7ffeb441f07e474a135c42d
Diffstat (limited to 'src/onaptests/templates/reporting/reporting.html.j2')
-rw-r--r--src/onaptests/templates/reporting/reporting.html.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/src/onaptests/templates/reporting/reporting.html.j2 b/src/onaptests/templates/reporting/reporting.html.j2
index 05c00b7..246f362 100644
--- a/src/onaptests/templates/reporting/reporting.html.j2
+++ b/src/onaptests/templates/reporting/reporting.html.j2
@@ -28,7 +28,7 @@
</thead>
<tbody>
{% for step_report in report.report %}
- <tr {% if step_report.step_execution_status.value == 'FAIL' %} class="has-background-danger" {% else %} class="has-background-success-light" {% endif %}>
+ <tr {% if step_report.step_execution_status.value == 'FAIL' %} class="has-background-danger" {% elif step_report.step_execution_status.value == 'PASS' %} class="has-background-success-light" {% else %} class="has-background-warning-light" {% endif %}>
<td>
{{ step_report.step_description }}
</td>