From 9a16718807e789b98bed871ce503fb540366ebee Mon Sep 17 00:00:00 2001 From: LianaHus Date: Wed, 29 Apr 2020 11:34:08 +0200 Subject: [PATCH] show message for error in test file --- src/app/tabs/test-tab.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/app/tabs/test-tab.js b/src/app/tabs/test-tab.js index 5a4b56a16c..968ac20577 100644 --- a/src/app/tabs/test-tab.js +++ b/src/app/tabs/test-tab.js @@ -273,6 +273,7 @@ module.exports = class TestTab extends ViewPlugin { // if all tests has been through before stopping no need to print this. this.testsExecutionStopped.hidden = false } + if (_errors) this.testsExecutionStoppedError.hidden = false if (_errors || this.hasBeenStopped || this.readyTestsNumber === this.runningTestsNumber) { // All tests are ready or the operation has been canceled or there was a compilation error in one of the test files. const stopBtn = document.getElementById('runTestsTabStopAction') @@ -364,6 +365,7 @@ module.exports = class TestTab extends ViewPlugin { this.testsOutput.innerHTML = '' this.testsOutput.hidden = true this.testsExecutionStopped.hidden = true + this.testsExecutionStoppedError.hidden = true const tests = this.data.selectedTests if (!tests) return this.resultStatistics.hidden = tests.length === 0 @@ -484,7 +486,9 @@ module.exports = class TestTab extends ViewPlugin { this.onActivationInternal() this.testsOutput = yo`