{% for script in testscripts %} {% set scriptnum = loop.index %}
  • {% if script.result in ("passed", "passx") %}
    {% elif script.result in ("failed", "errored", "aborted", "blocked")%}
    {% elif script.result == "skipped"%}
    {% else %}
    {% endif %} arrow_drop_down
    {{script.id}}: {{script.name}}
    arrow_drop_down {% if script.description %} Description {% endif %} {% if script.metadata %} Metadata {% endif %}
    expand_more expand_less
    {% if script.description %} {% endif %} {% if script.metadata %} {% endif %}
      {% for case in script.testcases %} {% set casenum = loop.index %}
    • arrow_drop_down {{case.display_name}} {% if case.description %} Description {% endif %} {% if case.metadata %} Metadata {% endif %}
      expand_more expand_less
      {{case.result.upper()}} {{case.runtime}}
      {% if case.description %} {% endif %} {% if case.metadata %} {% endif %}
        {% for section in case.sections %}
      • arrow_drop_down {{section.data.name}} {% if section.data.description %} Description {% endif %} {% if section.metadata %} Meta-Data {% endif %}
        expand_more expand_less
        {{section.result.upper()}} {{section.data.runtime}}
        {% if section.data.description %} {% endif %} {% if section.metadata %} {% endif %}
          {% if section.data.teststeps is defined and section.data.teststeps|length > 0 %} {% for teststep in section.data.teststeps %} {% include "teststep.html" %} {% endfor %} {% endif %}
        • arrow_drop_down Section Logs
          {{section.logs.data|e}}
      • {% endfor %}
    • {% endfor %}
  • {% endfor %}