From a76522d534359aba0c08b88ea83cfa4caba0541c Mon Sep 17 00:00:00 2001 From: Danny Gleckler Date: Wed, 11 Dec 2024 14:01:35 -0500 Subject: [PATCH] feat: Make report test names copy-friendly (#567) --- src/server/report/result.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/server/report/result.js b/src/server/report/result.js index 2b843dfe..18c1a2f4 100644 --- a/src/server/report/result.js +++ b/src/server/report/result.js @@ -125,6 +125,9 @@ export const RESULT_STYLE = css` .result-duration { flex: 0 0 auto; } + .breadcrumb-arrow { + user-select: none; + } `; function renderBrowserInfo(browser) { @@ -247,7 +250,7 @@ export function renderBrowserResults(browser, tests, options) { return acc.push(html`
-

${t.name}

+

${t.name.split(' > ').flatMap(p => [html` > `, p]).slice(1)}

${pixelsDiff}
${renderStatusText(`${resultData.duration}ms`, status)}