Add empty cell to reports when time is missing

This commit is contained in:
János Benjamin Antal 2024-08-09 13:20:05 +00:00
parent 7c409c7884
commit 8cf5f6d616

View File

@ -770,9 +770,11 @@ def create_test_html_report(
row.append(f'<td {fail_id}style="{style}">{test_result.status}</td>')
colspan += 1
row.append("<td>")
if test_result.time is not None:
has_test_time = True
row.append(f"<td>{test_result.time}</td>")
row.append(str(test_result.time))
row.append("</td>")
colspan += 1
if test_result.log_urls is not None: