Skip to content

Commit

Permalink
fix: correctly report test names and status
Browse files Browse the repository at this point in the history
  • Loading branch information
taymoork2 committed Apr 8, 2021
1 parent 6e319c7 commit 1aee063
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/reporter/reporter.ts
Expand Up @@ -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
})

Expand Down

0 comments on commit 1aee063

Please sign in to comment.