From 1aee063669f97ce3ce931d0f72e8bbc3d295443f Mon Sep 17 00:00:00 2001 From: Taymoor Khan Date: Thu, 8 Apr 2021 15:29:13 -0700 Subject: [PATCH] fix: correctly report test names and status --- src/reporter/reporter.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/reporter/reporter.ts b/src/reporter/reporter.ts index aaf78e8..41d7c15 100644 --- a/src/reporter/reporter.ts +++ b/src/reporter/reporter.ts @@ -37,11 +37,11 @@ export function SaucelabsReporter(logger, browserMap: BrowserMap) { return; } - const status = result.success ? '✅' : '❌' + const status = result.success ? '✅' : result.skipped ? '➖' : '❌'; browserData.results.push({ status: 'info', - message: `${status} ${result.fullName}`, + message: `${status} ${result.fullName || result.description}`, screenshot: null })