diff --git a/test-browser/tests/ballot.js b/test-browser/tests/ballot.js index cc24125b15..ad391b2d61 100644 --- a/test-browser/tests/ballot.js +++ b/test-browser/tests/ballot.js @@ -26,7 +26,7 @@ module.exports = { function runTests (browser, testData) { browser .waitForElementVisible('.newFile', 10000) - contractHelper.testContracts(browser, sources.sources.Untitled, ['Ballot'], function () { + contractHelper.testContracts(browser, sources.sources.Untitled, ['Untitled:Ballot'], function () { browser.end() }) } diff --git a/test-browser/tests/compiling.js b/test-browser/tests/compiling.js index cc4e8d3845..b17bb2423c 100644 --- a/test-browser/tests/compiling.js +++ b/test-browser/tests/compiling.js @@ -26,7 +26,7 @@ module.exports = { function runTests (browser) { browser .waitForElementVisible('.newFile', 10000) - contractHelper.testContracts(browser, sources.sources.Untitled, ['TestContract'], function () { + contractHelper.testContracts(browser, sources.sources.Untitled, ['Untitled:TestContract'], function () { browser.click('.create .constructor .call') .waitForElementPresent('.instance .call[title="f"]') .click('.instance .call[title="f"]') diff --git a/test-browser/tests/simpleContract.js b/test-browser/tests/simpleContract.js index 45956cd635..abde03c8cf 100644 --- a/test-browser/tests/simpleContract.js +++ b/test-browser/tests/simpleContract.js @@ -25,7 +25,7 @@ module.exports = { function runTests (browser) { browser .waitForElementVisible('.newFile', 10000) - contractHelper.testContracts(browser, sources.sources.Untitled, ['test1', 'test2'], function () { + contractHelper.testContracts(browser, sources.sources.Untitled, ['Untitled:test1', 'Untitled:test2'], function () { browser.end() }) } diff --git a/test-browser/tests/staticanalysis.js b/test-browser/tests/staticanalysis.js index 2f9996b5a2..9fd70e5fa6 100644 --- a/test-browser/tests/staticanalysis.js +++ b/test-browser/tests/staticanalysis.js @@ -32,7 +32,7 @@ module.exports = { function runTests (browser) { browser .waitForElementVisible('.newFile', 10000) - contractHelper.testContracts(browser, sources.sources.Untitled, ['TooMuchGas', 'test1', 'test2'], function () { + contractHelper.testContracts(browser, sources.sources.Untitled, ['Untitled:TooMuchGas', 'Untitled:test1', 'Untitled:test2'], function () { browser .click('.staticanalysisView') .click('#staticanalysisView button')