{% extends "ui/base_ui.html" %} {% block title %}Test Runs - ATP Platform{% endblock %} {% block content %}

Test Runs

{{ total }} suite execution{{ "s" if total != 1 else "" }} recorded

{% for execution in executions %} {% else %} {% endfor %}
ID Suite Agent Model Status Tests Success Rate Runs/Test Started Duration
#{{ execution.id }} {{ execution.suite_name }} {{ execution.agent_name or "—" }} {{ execution.model or "—" }} {% if execution.adapter %}
via {{ execution.adapter }} {% endif %}
{% set s = execution.status %} {% if s == "completed" %} {{ s }} {% elif s == "running" %} {{ s }} {% elif s == "failed" %} {{ s }} {% else %} {{ s }} {% endif %} {{ execution.passed_tests }}/{{ execution.total_tests }} {% if execution.total_tests > 0 %} {{ "%.1f"|format(execution.success_rate * 100) }}% {% else %} — {% endif %} {{ execution.runs_per_test }} {% if execution.started_at %} {{ execution.started_at.strftime("%Y-%m-%d %H:%M") }} {% else %} — {% endif %} {% if execution.duration_seconds is not none %} {% set duration = execution.duration_seconds %} {% if duration >= 3600 %} {{ "%.0f"|format(duration / 3600) }}h {{ "%.0f"|format((duration % 3600) / 60) }}m {% elif duration >= 60 %} {{ "%.0f"|format(duration / 60) }}m {{ "%.0f"|format(duration % 60) }}s {% else %} {{ "%.0f"|format(duration) }}s {% endif %} {% elif execution.status == "running" %} running... {% else %} — {% endif %}
No test runs yet.
{% if total_pages > 1 %} {% endif %} {% endblock %}