{% for script in testsuite.tasks %} {% set scriptnum = loop.index %}
  • {% if script.summary.failed + script.summary.errored + script.summary.aborted + script.summary.blocked > 0 %}
    {% elif script.summary.passed + script.summary.passx > 0 %}
    {% elif script.summary.skipped > 0 %}
    {% else %}
    {% endif %} arrow_drop_down
    {{script.id}}: {{script.name}}
    arrow_drop_down {% if script.description %} Description {% endif %}
    expand_more expand_less
    {% if script.description %} {% endif %}
      {% for case in script.sections %} {% set casenum = loop.index %}
    • arrow_drop_down {% if case.id == case.name %} {{case.name}} {% else %} {{case.id}}: {{case.name}} {% endif %} {% if case.description %} Description {% endif %} {% if 'swversion' in case.extra or 'hwversion' in case.extra or 'fwversion' in case.extra or 'tstwversion' in case.extra %} Metadata {% endif %}
      expand_more expand_less
      {{case.result.name.upper()}} {{case.runtime | runtime_formatter }}
      {% if case.description %} {% endif %} {% if case.metadata %} {% endif %}
        {% for section in case.sections %}
      • arrow_drop_down {{section.name}} {% if section.description %} Description {% endif %}
        expand_more expand_less
        {{section.result.name.upper()}} {{section.runtime | runtime_formatter}}
        {% if section.description %} {% endif %}
          {% if section.sections|length > 0 %} {% for teststep in section.sections %} {% include "teststep.html" %} {% endfor %} {% endif %}
        • arrow_drop_down Section Logs
          {{logs[section.fullid]['data']|e}}
      • {% endfor %}
    • {% endfor %}
  • {% endfor %}