• {% if stepLog.status == "PASS" %} {% elseif stepLog.status == "SKIPPED" or stepLog.status == "SKIPPED" %} {% else %} {% endif %} {% if stepLog is defined and stepLog.step is defined %} {{ stepLog.step.name }} {% else %} {{ stepLog.methodName }} {% endif %}

    Information

    {% if stepLog is defined and stepLog.step is defined %} {% endif %}
    Method Name {{ stepLog.methodName }}
    Description {{ stepLog.step.description }}
    Start {{ stepLog.start }}
    End {{ stepLog.end }}
    Duration {% if stepLog.duration is defined and stepLog.duration is not null and stepLog.duration > 0.0 %} {{ stepLog.duration / 1000.0 }} s {% else %} 0 s {% endif %}

    {% if stepLog.stepParameters | length > 0 %}
    Parameters

    {% for param in stepLog.stepParameters %} {% endfor %}
    Name Type Value
    {{ param.name }} {{ param.type }} {{ param.value }}
    {% endif %} {% if stepLog.assertions | length > 0 %}
    Assertions

    {% for assertion in stepLog.assertions %} {% set textColor = assertion.hasPassed() ? 'text-success' : 'text-danger' %} {% endfor %}
    Type Status Message Actual Expected
    {{ assertion.type }} {% if assertion.hasPassed() %} {% else %} {% endif %} {{ assertion.message }} {{ assertion.actual }} {{ assertion.expected }}
    {% endif %} {% if stepLog.error is defined and stepLog.error.message %}
    Error

    Type {{ stepLog.error }}
    Message {{ stepLog.error.message }}
    {% endif %}