diff --git a/test-browser/tests/simpleContract.js b/test-browser/tests/simpleContract.js index d2b3f1de71..ef08304112 100644 --- a/test-browser/tests/simpleContract.js +++ b/test-browser/tests/simpleContract.js @@ -18,6 +18,7 @@ module.exports = { } function runTests (browser) { + browser.setEditorValue = contractHelper.setEditorValue browser .waitForElementVisible('.newFile', 10000) .click('.compileView') diff --git a/test-browser/tests/staticanalysis.js b/test-browser/tests/staticanalysis.js index 158de4b112..26bcb10fe2 100644 --- a/test-browser/tests/staticanalysis.js +++ b/test-browser/tests/staticanalysis.js @@ -33,6 +33,7 @@ module.exports = { } function runTests (browser) { + browser.setEditorValue = contractHelper.setEditorValue browser .waitForElementVisible('.newFile', 10000) .click('.compileView')