Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: add tooltip to truncated span names in HTML report
Span names with text-overflow:ellipsis now show the full name on hover
via a title attribute.
  • Loading branch information
thomhurst committed Mar 14, 2026
commit 238fe337a0c9d2efd803e84ec6b171292a625f94
2 changes: 1 addition & 1 deletion TUnit.Engine/Reporters/Html/HtmlReportGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1372,7 +1372,7 @@ function gd(s) {
const cls = s.status === 'Error' ? 'err' : s.status === 'Ok' ? 'ok' : 'unk';
h += '<div class="sp-row" data-si="' + i + '">';
h += '<div class="sp-lbl" style="padding-left:' + (d * 14) + 'px">';
h += '<span class="sp-name">' + esc(s.name) + '</span>';
h += '<span class="sp-name" title="' + esc(s.name) + '">' + esc(s.name) + '</span>';
h += '<span class="sp-dur">' + fmt(s.durationMs) + '</span>';
h += '</div>';
h += '<div class="sp-track"><div class="sp-bar ' + cls + '" style="left:' + l + '%;width:' + w + '%" title="' + esc(s.name) + ' (' + fmt(s.durationMs) + ')"></div></div>';
Expand Down
Loading