From 406e4a3cf8bda410f9b623dac03688df54245452 Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Tue, 17 Sep 2024 14:58:03 +0200 Subject: [PATCH] feat(html-reporter): add file name copy button --- packages/html-reporter/src/testCaseView.css | 1 + packages/html-reporter/src/testCaseView.tsx | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/html-reporter/src/testCaseView.css b/packages/html-reporter/src/testCaseView.css index d87cf3aacb..90e2f4057b 100644 --- a/packages/html-reporter/src/testCaseView.css +++ b/packages/html-reporter/src/testCaseView.css @@ -47,6 +47,7 @@ flex: none; align-items: center; padding: 0 8px 8px; + line-height: 24px; } .test-case-path { diff --git a/packages/html-reporter/src/testCaseView.tsx b/packages/html-reporter/src/testCaseView.tsx index 1fe4f42ed3..e3656bf414 100644 --- a/packages/html-reporter/src/testCaseView.tsx +++ b/packages/html-reporter/src/testCaseView.tsx @@ -50,7 +50,11 @@ export const TestCaseView: React.FC<{ {test &&
{test.path.join(' › ')}
} {test &&
{test?.title}
} {test &&
-
{test.location.file}:{test.location.line}
+
+ + {test.location.file}:{test.location.line} + +
{msToString(test.duration)}
}