From 48da81b75f56e821bd7f5cc4bfe095f1a5d58b8d Mon Sep 17 00:00:00 2001 From: yann300 Date: Mon, 11 Dec 2017 15:06:54 +0100 Subject: [PATCH] fix tests --- test-browser/tests/simpleContract.js | 1 + test-browser/tests/staticanalysis.js | 1 + 2 files changed, 2 insertions(+) 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')