{% extends "dashboard_app/_content_with_sidebar.html" %} {% load i18n %} {% load humanize %} {% block sidebar %}
Note: This is all the information that the dashboard has about this result. Log analyzers can provide additional information by scrubbing it from the log file. Information that is global to a test run can be attached to test run attributes instead.

{% if test_result.test_run.get_results.count > 1 %}

Other results

Results from the same test run are available here

{% endif %} {% endblock %} {% block content %}

{% trans "Test Result Details" %}

{% trans "Result ID:" %}
{{ test_result }}
{% trans "Note:" %} {% blocktrans %} You can navigate to this test result, regardless of the bundle stream it is located in, by using this {% endblocktrans %} {% trans "permalink" %}
{% trans "Test case:" %}
{% if test_result.test_case %} {{ test_result.test_case }} {% else %} {% trans "unknown test case" %} {% endif %} {% trans "from test" %} {{ test_result.test_run.test }}
{% trans "Test outcome:" %}
{{ test_result.get_result_display }}
{% trans "Measurement:" %}
{% if test_result.measurement != None %} {{ test_result.measurement|floatformat }} {{ test_result.test_case.units }} {% else %} {% trans "no measurement taken" %} {% endif %}
{% trans "Location in the original log file:" %}
{% if test_result.filename %} {% if test_result.related_attachment_available %} {% with test_result.related_attachment as attachment %} {{ test_result.filename }} line {{ test_result.lineno }} {% endwith %} {% else %} {{ test_result.filename }} line {{ test_result.lineno }} {% endif %} {% else %} {% trans "information not provided" %} {% endif %}
{% trans "Message from the log file:" %}
{% if test_result.message %} {{ test_result.message }} {% else %} {% trans "information not provided" %} {% endif %}
{% trans "Test started on:" %}
{% if test_result.timestamp %} {{ test_result.timestamp|naturalday }} {{ test_result.timestamp|time }} {% else %} {% trans "information not provided" %} {% endif %}
{% trans "Test duration:" %}
{% if test_result.duration %} {# TODO need a filter for displaying this sensibly. Currently there are some rounding errors #} {{ test_result.duration }} {% else %} {% trans "information not provided" %} {% endif %}
{% trans "Custom attributes (defined at test result level):" %}
{% with test_result.attributes.values as attrs %} {% if attrs %}
{% for item in attrs|dictsort:"name" %}
{{ item.name|title }}
{{ item.value }}
{% endfor %}
{% else %} {% trans "none specified" %} {% endif %} {% endwith %}
{% trans "Custom attributes (defined at test run level):" %}
{% with test_result.test_run.attributes.values as attrs %} {% if attrs %}
{% for item in attrs|dictsort:"name" %}
{{ item.name|title }}
{{ item.value }}
{% endfor %}
{% else %} {% trans "none specified" %} {% endif %} {% endwith %}
{% endblock %}