Commit 89794de3 authored by ioedeveloper's avatar ioedeveloper

Moved message to title of button

parent 36ab1910
...@@ -87,20 +87,12 @@ module.exports = class TestTab extends ViewPlugin { ...@@ -87,20 +87,12 @@ module.exports = class TestTab extends ViewPlugin {
if (eChecked) { if (eChecked) {
checkAll.checked = true checkAll.checked = true
this.testsSummary.hidden = true
this.testsOutput.hidden = true
runBtn.removeAttribute('disabled') runBtn.removeAttribute('disabled')
runBtn.setAttribute('title', 'Run tests')
} else if (!selectedTests.length) { } else if (!selectedTests.length) {
checkAll.checked = false checkAll.checked = false
this.testsOutput.hidden = true
this.testsSummary.hidden = false
this.testsSummary.innerHTML = ''
this.testsSummary.appendChild(yo`
<div class=${css.summaryTitle}>
<div class="text-info">No test file selected</div>
</div>
`)
runBtn.setAttribute('disabled', 'disabled') runBtn.setAttribute('disabled', 'disabled')
runBtn.setAttribute('title', 'No test file selected')
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment