|
|
@ -70,7 +70,7 @@ module.exports = { |
|
|
|
.getEditorValue((content) => { |
|
|
|
.getEditorValue((content) => { |
|
|
|
browser.assert.ok(content && content.indexOf( |
|
|
|
browser.assert.ok(content && content.indexOf( |
|
|
|
'https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/access/Ownable.sol') !== -1, |
|
|
|
'https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/access/Ownable.sol') !== -1, |
|
|
|
'code has not been loaded') |
|
|
|
'code has not been loaded') |
|
|
|
}) |
|
|
|
}) |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
@ -87,7 +87,7 @@ module.exports = { |
|
|
|
.getEditorValue((content) => { |
|
|
|
.getEditorValue((content) => { |
|
|
|
browser.assert.ok(content && content.indexOf( |
|
|
|
browser.assert.ok(content && content.indexOf( |
|
|
|
'proposals.length = _numProposals;') !== -1, |
|
|
|
'proposals.length = _numProposals;') !== -1, |
|
|
|
'url has not been loaded') |
|
|
|
'url has not been loaded') |
|
|
|
}) |
|
|
|
}) |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
@ -121,8 +121,8 @@ module.exports = { |
|
|
|
|
|
|
|
|
|
|
|
}) |
|
|
|
}) |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
//Disabled due to failure from blockscout api
|
|
|
|
'Should load Blockscout verified contracts from URL "address" and "blockscout" params (multiple sources)': function (browser: NightwatchBrowser) { |
|
|
|
'Should load Blockscout verified contracts from URL "address" and "blockscout" params (multiple sources)': '' + function (browser: NightwatchBrowser) { |
|
|
|
browser |
|
|
|
browser |
|
|
|
.url('http://127.0.0.1:8080/#address=0x7Fc66500c84A76Ad7e9c93437bFc5Ac33E2DDaE9&blockscout=eth.blockscout.com') |
|
|
|
.url('http://127.0.0.1:8080/#address=0x7Fc66500c84A76Ad7e9c93437bFc5Ac33E2DDaE9&blockscout=eth.blockscout.com') |
|
|
|
.refreshPage() |
|
|
|
.refreshPage() |
|
|
@ -162,7 +162,7 @@ module.exports = { |
|
|
|
.getEditorValue((content) => { |
|
|
|
.getEditorValue((content) => { |
|
|
|
browser.assert.ok(content && content.indexOf( |
|
|
|
browser.assert.ok(content && content.indexOf( |
|
|
|
'proposals.length = _numProposals;') !== -1, |
|
|
|
'proposals.length = _numProposals;') !== -1, |
|
|
|
'code has been loaded') |
|
|
|
'code has been loaded') |
|
|
|
}) |
|
|
|
}) |
|
|
|
.url('http://127.0.0.1:8080') // refresh without loading the code sample
|
|
|
|
.url('http://127.0.0.1:8080') // refresh without loading the code sample
|
|
|
|
.currentWorkspaceIs('default_workspace') |
|
|
|
.currentWorkspaceIs('default_workspace') |
|
|
|