|
|
@ -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') |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|