From 91d698a44fb6335804ee3cb56eabfa96e9c62def Mon Sep 17 00:00:00 2001 From: yann300 Date: Tue, 18 Jul 2017 11:51:04 +0200 Subject: [PATCH] fix tests --- test-browser/tests/sharedFolderExplorer.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/test-browser/tests/sharedFolderExplorer.js b/test-browser/tests/sharedFolderExplorer.js index d0ca1b57ec..c5b54fa33c 100644 --- a/test-browser/tests/sharedFolderExplorer.js +++ b/test-browser/tests/sharedFolderExplorer.js @@ -41,7 +41,9 @@ function runTests (browser, testData) { .assert.containsText('[data-path="localhost/folder1/contract1.sol"]', 'contract1.sol') .assert.containsText('[data-path="localhost/folder1/contract2.sol"]', 'contract2.sol') .click('[data-path="localhost/folder1/contract2.sol"]') - contractHelper.testContracts(browser, sources.sources['localhost/folder1/contract2.sol'], ['localhost/folder1/contract2.sol:test2'], () => { - browser.click('.websocketconn').end() - }) + .waitForElementPresent('.udapp .create', 50000, true, function () { + contractHelper.checkCompiledContracts(browser, ['localhost/folder1/contract2.sol:test2'], function () { + browser.click('.websocketconn').end() + }) + }) }