Commit 25f10f78 authored by aniket-engg's avatar aniket-engg Committed by Aniket

comment added

parent a411d45e
...@@ -104,6 +104,8 @@ module.exports = { ...@@ -104,6 +104,8 @@ module.exports = {
.click('*[data-id="tests/compilationError_test.sol"]') .click('*[data-id="tests/compilationError_test.sol"]')
.pause(1000) .pause(1000)
.getEditorValue((content) => browser.assert.ok(content.indexOf('contract failOnCompilation {') !== -1)) .getEditorValue((content) => browser.assert.ok(content.indexOf('contract failOnCompilation {') !== -1))
// Verify that compilation error is still present after a file is opened
// usually, tests result is cleared on opening a new file
.verify.elementPresent('*[data-id="tests/compilationError_test.sol"]') .verify.elementPresent('*[data-id="tests/compilationError_test.sol"]')
}, },
......
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