From 3af663f7c922c8e9aa8741a615ed0c99b9dcd570 Mon Sep 17 00:00:00 2001 From: Sheng Chen Date: Fri, 17 Dec 2021 10:24:41 +0800 Subject: [PATCH] fix: Support html markdown for TestNG output (#1346) Signed-off-by: sheche --- src/runners/testngRunner/TestNGRunnerResultAnalyzer.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/runners/testngRunner/TestNGRunnerResultAnalyzer.ts b/src/runners/testngRunner/TestNGRunnerResultAnalyzer.ts index 17b75805..66df524a 100644 --- a/src/runners/testngRunner/TestNGRunnerResultAnalyzer.ts +++ b/src/runners/testngRunner/TestNGRunnerResultAnalyzer.ts @@ -77,6 +77,7 @@ export class TestNGRunnerResultAnalyzer extends RunnerResultAnalyzer { if (outputData.attributes.trace) { const markdownTrace: MarkdownString = new MarkdownString(); markdownTrace.isTrusted = true; + markdownTrace.supportHtml = true; for (const line of outputData.attributes.trace.split(/\r?\n/)) { this.processStackTrace(line, markdownTrace, undefined, this.currentItem, this.projectName);