Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yann300 committed Feb 6, 2017
1 parent b8b8f69 commit 53e6ece
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test-browser/tests/ballot.js
Original file line number Diff line number Diff line change
Expand Up @@ -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()
})
}
2 changes: 1 addition & 1 deletion test-browser/tests/compiling.js
Original file line number Diff line number Diff line change
Expand Up @@ -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"]')
Expand Down
2 changes: 1 addition & 1 deletion test-browser/tests/simpleContract.js
Original file line number Diff line number Diff line change
Expand Up @@ -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()
})
}
2 changes: 1 addition & 1 deletion test-browser/tests/staticanalysis.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 53e6ece

Please sign in to comment.