Skip to content

Commit 54f2b28

Browse files
authored
Merge pull request #28 from edcdavid/re-add-log-in-claim
Re-add-log-in-claim
2 parents c592417 + c2c9c9e commit 54f2b28

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

html/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ function generateTestcaseSingleResultElement (currentTestResult, tableName, id,
371371
const formattedDuration = duration.format('D[d] H[h] m[m] s[s] SSS[ms]')
372372
let skippedReason = ''
373373
if (currentTestResult.state === 'skipped') {
374-
skippedReason = currentTestResult.failureReason
374+
skippedReason = currentTestResult.skipReason
375375
if (skippedReason === '') {
376376
skippedReason = 'Test case skipped by configuration'
377377
}
@@ -382,8 +382,8 @@ function generateTestcaseSingleResultElement (currentTestResult, tableName, id,
382382
commonTestTextContent += '<td>' + formattedDuration + '</td>'
383383
commonTestTextContent += '<td><b>' + currentTestResult.state + '</b>' + skippedReason + '</td>'
384384
commonTestTextContent += '<td>' + ansiUp.ansi_to_html(ExtractLog(currentTestResult.capturedTestOutput)).replace(/\n/g, '<br>') + '</td></tr>'
385-
const jsonObjNonCompliant = NonCompliantReasonTextToJson(currentTestResult.capturedTestOutput)
386-
const jsonObjCompliant = CompliantReasonTextToJson(currentTestResult.capturedTestOutput)
385+
const jsonObjNonCompliant = NonCompliantReasonTextToJson(currentTestResult.checkDetails)
386+
const jsonObjCompliant = CompliantReasonTextToJson(currentTestResult.checkDetails)
387387

388388
commonTestTextContent += '</tbody></table></div>'
389389

0 commit comments

Comments
 (0)