|
|
|
@ -33,6 +33,11 @@ module.exports = { |
|
|
|
|
|
|
|
|
|
'Should load using URL compiler params': function (browser: NightwatchBrowser) { |
|
|
|
|
browser |
|
|
|
|
.pause(5000) |
|
|
|
|
.url('http://127.0.0.1:8080/#optimize=true&runs=300&evmVersion=istanbul&version=soljson-v0.7.4+commit.3f05b770.js') |
|
|
|
|
.refresh() |
|
|
|
|
.pause(5000) |
|
|
|
|
.clickLaunchIcon('solidity') |
|
|
|
|
.assert.containsText('#versionSelector option[selected="selected"]', '0.7.4+commit.3f05b770') |
|
|
|
|
.assert.containsText('#evmVersionSelector option[selected="selected"]', 'istanbul') |
|
|
|
|
.verify.elementPresent('#optimize:checked') |
|
|
|
|