From 5ef0bbbda90428378a08d416481b90047f5ba870 Mon Sep 17 00:00:00 2001 From: mrichomme Date: Thu, 8 Oct 2020 13:46:50 +0200 Subject: Add reporting page creation in pythonsdk-tests Issue-ID: TEST-269 Signed-off-by: mrichomme Change-Id: I4ab0a2f7a1a1e98ae5d05166c6aa06212d24eeae Signed-off-by: mrichomme --- .../templates/reporting/reporting.html.j2 | 43 ++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 src/onaptests/templates/reporting/reporting.html.j2 (limited to 'src/onaptests/templates/reporting/reporting.html.j2') diff --git a/src/onaptests/templates/reporting/reporting.html.j2 b/src/onaptests/templates/reporting/reporting.html.j2 new file mode 100644 index 0000000..5dafe3f --- /dev/null +++ b/src/onaptests/templates/reporting/reporting.html.j2 @@ -0,0 +1,43 @@ +{% extends "base.html.j2" %} +{% block title %}Summary{% endblock %} +{% block content %} + {{ summary('Results', "", [ + { 'title': 'Pythonsdk Tests', 'failing': (failing_steps | length), 'total': (steps | length)}, + ]) + }} + +
+
+

+ {{ usecase }} +

+ Description: {{ details }} +
+ Components: {{ components }} +
+ Logs + +
+ + + + + + + + + {% for step,value in steps.items() %} + + + + + {% endfor %} + +
NameStatus
+ {{ step }} + + {{ value }} +
+
+
+{% endblock %} -- cgit 1.2.3-korg