{% extends "base.html" %} {% load i18n %} {% load static %} {% load comments %} {% load extra_filters %} {% load attachments_tags %} {% block title %}TC-{{ test_case.pk }}: {{ test_case.summary }}{% endblock %} {% block body_class %}cards-pf{% endblock %} {% block contents %}

TC-{{ test_case.pk }}: {{ test_case.summary }}

{{ test_case.text|markdown2html }}

{% trans 'Notes' %}: {{ test_case.notes }}

{% trans 'Author' %}: {{ test_case.author.username }}

{% trans 'Default tester' %}: {% if test_case.default_tester %} {{ test_case.default_tester.username }} {% else %} - {% endif %}

{% trans 'Product' %}: {{ test_case.category.product }}

{% trans 'Category' %}: {{ test_case.category }}

{% trans 'Status' %}: {{ test_case.case_status }}

{% trans 'Priority' %}: {{ test_case.priority }}

{{ test_case.create_date }}

{% trans 'Automated' %}: {{ test_case.is_automated }}

{% trans 'Script' %}: {{ test_case.script|default:'-' }}

{% trans 'Arguments' %}: {{ test_case.arguments|default:'-' }}

{% trans 'Requirements' %}: {{ test_case.requirement|default:'-' }}

{% trans 'Reference link' %}: {% if test_case.extra_link %} {{ test_case.extra_link }} {% else %} - {% endif %}

{% trans 'Executions' %}

{% for execution in test_case_runs %} {% ifchanged execution.run.plan.pk %} {% if not forloop.first %}
{% endif %}
{% endifchanged %}
{% get_comment_list for execution as case_run_comments %} {% with bugs=execution.get_bugs %}
{{ execution.status.name }}
{% if bugs %}
{{ bugs|length }}
{% endif %} {% if case_run_comments %}
{{ case_run_comments|length }}
{% endif %}
{{ execution.close_date }}
{% for bug in bugs %} {% endfor %} {% for comment in case_run_comments %}
#{{ forloop.counter }}
{{ comment.comment }}
{{ comment.submit_date }}
{% endfor %}
{% endwith %}
{% if forloop.last %}
{% endif %} {% endfor %}

{% trans 'Bugs' %}

{% trans 'Bug URL' %}

{% trans 'Test plans' %}

{% trans "ID" %} {% trans 'Name' %} {% trans 'Author' %} {% trans 'Type' %} {% trans 'Product' %}

{% trans 'Tags' %}

{% if perms.testcases.add_testcasetag %} {% endif %}
{% trans 'Name' %}

{% trans 'Components' %}

{% if perms.testcases.add_testcasecomponent %} {% endif %}
{% trans 'Name' %}

{% trans 'Attachments' %}

{% get_attachments_for test_case as attachments_list %} {% for attachment in attachments_list %} {% empty %} {% endfor %} {% if perms.attachments.add_attachment %} {% endif %}
{% trans 'File' %} {% trans 'Owner' %} {% trans 'Date' %}
{{ attachment.filename }} {{ attachment.creator }} {{ attachment.created }} {% attachment_delete_link attachment %}
{% trans 'No records found' %}
{% attachment_form test_case %}
{% endblock %}