|
|
@ -91,14 +91,7 @@ module.exports = { |
|
|
|
modal.click() |
|
|
|
modal.click() |
|
|
|
}) |
|
|
|
}) |
|
|
|
.pause(5000) |
|
|
|
.pause(5000) |
|
|
|
.waitForElementContainsText('#selectExEnvOptions button', 'External HTTP Provider') |
|
|
|
.waitForElementContainsText('#selectExEnvOptions button', 'External Http Provider') |
|
|
|
.execute(function () { |
|
|
|
|
|
|
|
const env: any = document.getElementById('selectExEnvOptions') |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return env.value |
|
|
|
|
|
|
|
}, [], function (result) { |
|
|
|
|
|
|
|
browser.assert.ok(result.value === 'External Http Provider', 'Web3 Provider not selected') |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
.clickLaunchIcon('solidity') |
|
|
|
.clickLaunchIcon('solidity') |
|
|
|
.clickLaunchIcon('udapp') |
|
|
|
.clickLaunchIcon('udapp') |
|
|
|
.pause(2000) |
|
|
|
.pause(2000) |
|
|
|