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..2ea97c9762 100644 --- a/test-browser/tests/staticanalysis.js +++ b/test-browser/tests/staticanalysis.js @@ -32,13 +32,13 @@ 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') .waitForElementPresent('#staticanalysisresult .warning', 2000, true, function () { dom.listSelectorContains(['Untitled:1:34: use of tx.origin', - 'Fallback function of contract TooMuchGas requires too much gas'], + 'Fallback function of contract Untitled:TooMuchGas requires too much gas'], '#staticanalysisresult .warning span', browser, function () { browser.end()