|
|
|
@ -201,7 +201,7 @@ module.exports = { |
|
|
|
|
.click('*[data-id="dropdownPanelSolidityLocals"]') |
|
|
|
|
.waitForElementContainsText('*[data-id="solidityLocals"]', 'no locals', 60000) |
|
|
|
|
// eslint-disable-next-line dot-notation
|
|
|
|
|
.execute(function () { document.getElementById('slider')['value'] = '340' }) // It only moves slider to 340 but vm traces are not updated
|
|
|
|
|
.execute(function () { document.getElementById('slider')['value'] = '235' }) // It only moves slider to 235 but vm traces are not updated
|
|
|
|
|
.setValue('*[data-id="slider"]', new Array(1).fill(browser.Keys.RIGHT_ARROW)) |
|
|
|
|
.waitForElementContainsText('*[data-id="functionPanel"]', 'checkWinningProposal()', 60000) |
|
|
|
|
.waitForElementContainsText('*[data-id="functionPanel"]', 'vote(proposal)', 60000) |
|
|
|
@ -213,7 +213,7 @@ module.exports = { |
|
|
|
|
.removeFile('tests/ballotFailedDebug_test.sol', 'default_workspace') |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
'Solidity Unit tests Basic Basic with local compiler': function (browser: NightwatchBrowser) { |
|
|
|
|
'Basic Solidity Unit tests with local compiler': function (browser: NightwatchBrowser) { |
|
|
|
|
browser |
|
|
|
|
.clickLaunchIcon('solidity') |
|
|
|
|
.setSolidityCompilerVersion('builtin') |
|
|
|
|