From 9363bc392eb2bf70d50c1166df137d1f91d55a1f Mon Sep 17 00:00:00 2001 From: LianaHus Date: Wed, 29 Apr 2020 11:50:07 +0200 Subject: [PATCH] updated test to check compilation error message --- test-browser/tests/solidityUnittests.js | 1 + 1 file changed, 1 insertion(+) diff --git a/test-browser/tests/solidityUnittests.js b/test-browser/tests/solidityUnittests.js index 869f62c717..ec3e4793ec 100644 --- a/test-browser/tests/solidityUnittests.js +++ b/test-browser/tests/solidityUnittests.js @@ -105,6 +105,7 @@ module.exports = { .pause(10000) .waitForElementPresent('*[data-id="testTabSolidityUnitTestsOutput"]') .assert.containsText('*[data-id="testTabSolidityUnitTestsOutput"]', 'SyntaxError: No visibility specified') + .assert.containsText('*[data-id="testTabTestsExecutionStoppedError"]', 'The test execution has been stopped because of error in your test file') }, 'Should fail on deploy': function (browser) {