aboutsummaryrefslogtreecommitdiffstats
path: root/src/onaptests/templates/reporting
diff options
context:
space:
mode:
Diffstat (limited to 'src/onaptests/templates/reporting')
-rw-r--r--src/onaptests/templates/reporting/reporting.html.j212
1 files changed, 12 insertions, 0 deletions
diff --git a/src/onaptests/templates/reporting/reporting.html.j2 b/src/onaptests/templates/reporting/reporting.html.j2
index 246f362..dab7b1b 100644
--- a/src/onaptests/templates/reporting/reporting.html.j2
+++ b/src/onaptests/templates/reporting/reporting.html.j2
@@ -31,6 +31,18 @@
<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 }}
+ {% if step_report.step_execution_status.value == 'FAIL' and (step_report.step_error_reason | length) > 0 %}
+ <table class="table is-fullwidth is-striped is-hoverable">
+ {% for error_reason in step_report.step_error_reason %}
+ <tr class="has-background-danger">
+ <td></td>
+ </tr>
+ <tr class="has-background-danger-light">
+ <td>{{ error_reason }}</td>
+ </tr>
+ {% endfor %}
+ </table>
+ {% endif %}
</td>
<td>
{{ step_report.step_execution_status.value }}