{% extends "projects/base.html" %} {% import "site_shell/_macros.html" as ui %} {% import "projects/builds/_build_macros.html" as bm %} {% block title %}Tests - {{ project.name }} - Pychestrate{% endblock %} {% block content %} {% set catalog_query = ('?project_id=' ~ registry_project.project_id) if (registry_project is defined and registry_project) else '' %} {% call ui.preview_notice() %} Preview: test jobs run from a test specification, and test specifications cannot be created yet — no page or API manages them — so this list stays empty. To run this project’s tests, use its Test catalog; the runs are listed under Runs. {% endcall %}
Clear
{{ ui.icon("settings") }} View Specs
{% for job in jobs %} {% else %} {{ ui.empty_state("No test jobs.", colspan=10) }} {% endfor %}
Job Specification Status Passed Failed Skipped Triggered By Duration Started Actions
#{{ job.id }} {{ job.spec_name }} {{ bm.build_status(job.status) }} {{ job.result_summary.passed if job.result_summary else '-' }} {{ job.result_summary.failed if job.result_summary else '-' }} {{ job.result_summary.skipped if job.result_summary else '-' }} {{ job.triggered_by_username }} {% if job.duration_seconds is not none %}{{ job.duration_seconds }}s{% else %}—{% endif %} {{ bm.build_started(job) }} View Logs
{{ ui.pagination('projects.test_job_list', page, total_pages, {'per_page': per_page, 'project_id': project.id, 'status': selected_status, 'spec_id': selected_spec_id}, total=total) }} {% endblock %}