Added title message to PASS & FAIL label

pull/5370/head
ioedeveloper 5 years ago committed by Liana Husikyan
parent d53116b0b6
commit b014d32f4e
  1. 8
      src/app/tabs/test-tab.js

@ -171,7 +171,9 @@ module.exports = class TestTab extends ViewPlugin {
setHeader (status) {
if (status) {
const label = yo`
<div class="alert-success d-inline-block mb-1 mr-1 p-1 passed_${this.runningTestFileName}">
<div
class="alert-success d-inline-block mb-1 mr-1 p-1 passed_${this.runningTestFileName}"
title="All contract tests passed">
PASS
</div>
`
@ -183,7 +185,9 @@ module.exports = class TestTab extends ViewPlugin {
`)
} else {
const label = yo`
<div class="alert-danger d-inline-block mb-1 mr-1 p-1 failed_${this.runningTestFileName}">
<div
class="alert-danger d-inline-block mb-1 mr-1 p-1 failed_${this.runningTestFileName}"
title="At least one contract test failed">
FAIL
</div>
`

Loading…
Cancel
Save