Commit 1d90c59a authored by yann300's avatar yann300 Committed by Alex Beregszaszi

Fix compilation test.

parent f2718ef8
...@@ -17,7 +17,7 @@ module.exports = { ...@@ -17,7 +17,7 @@ module.exports = {
'@sources': function () { '@sources': function () {
return sources return sources
}, },
'Simple Contract': function (browser) { 'Compiling': function (browser) {
runTests(browser) runTests(browser)
}, },
tearDown: sauce tearDown: sauce
...@@ -27,8 +27,7 @@ function runTests (browser) { ...@@ -27,8 +27,7 @@ function runTests (browser) {
browser browser
.waitForElementVisible('.newFile', 10000) .waitForElementVisible('.newFile', 10000)
contractHelper.testContracts(browser, sources.sources.Untitled, ['TestContract'], function () { contractHelper.testContracts(browser, sources.sources.Untitled, ['TestContract'], function () {
browser.assert.containsText('.contract .title', 'TestContract') browser.click('.create .constructor .call')
.click('.create .constructor .call')
.waitForElementPresent('.instance .call[title="f"]') .waitForElementPresent('.instance .call[title="f"]')
.click('.instance .call[title="f"]') .click('.instance .call[title="f"]')
.waitForElementPresent('.output .returned') .waitForElementPresent('.output .returned')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment