-
Notifications
You must be signed in to change notification settings - Fork 163
Description
Currently, when using result:respect (https://tmt.readthedocs.io/en/stable/spec/tests.html#spec-tests-result), the TMT HTML report doesn't display a Note column for subresults from tmt-report-results.yaml (file that the tmt-report-result command writes to). Only Result, Name and Logs columns are present (
tmt/tmt/steps/report/html/template.html.j2
Lines 333 to 351 in 8f1cbe3
| <thead> | |
| <tr> | |
| <th>Result</th> | |
| <th>Name</th> | |
| <th>Logs</th> | |
| </tr> | |
| </thead> | |
| {% for subresult in result.subresult %} | |
| <tr> | |
| <td class="result {{ subresult.result.value | e }}">{{ subresult.result.value | e }}</td> | |
| <td class="name">{{ subresult.name | e }}</td> | |
| <td class="log"> | |
| {% for log in subresult.log %} | |
| <a href="{{ base_dir | linkable_path | urlencode }}/{{ log | urlencode }}">{{ log | basename }}</a> | |
| {% else %} | |
| - | |
| {% endfor %} | |
| </td> | |
| </tr> |
result:custom.
The following moved in #4573 as it represents another feature request:
Also it seems that the main test result's Note column content can't be modified when using
result:respect. Would it be possible to either extendtmt-report-resultto accept a note as an argument which would be added to the main result or provide some other mean for that, for example, using a specialname: /subresult (as forresult:custom)?