updated test to check compilation error message

pull/5370/head
LianaHus 5 years ago
parent 9a16718807
commit 9363bc392e
  1. 1
      test-browser/tests/solidityUnittests.js

@ -105,6 +105,7 @@ module.exports = {
.pause(10000) .pause(10000)
.waitForElementPresent('*[data-id="testTabSolidityUnitTestsOutput"]') .waitForElementPresent('*[data-id="testTabSolidityUnitTestsOutput"]')
.assert.containsText('*[data-id="testTabSolidityUnitTestsOutput"]', 'SyntaxError: No visibility specified') .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) { 'Should fail on deploy': function (browser) {

Loading…
Cancel
Save