|
|
|
@ -43,6 +43,7 @@ module.exports = { |
|
|
|
|
browser |
|
|
|
|
.waitForElementVisible('#icon-panel') |
|
|
|
|
.clickLaunchIcon('fileExplorers') |
|
|
|
|
.click('*[data-id="treeViewTogglebrowser/contracts"]') |
|
|
|
|
.openFile('browser/contracts/1_Storage.sol') |
|
|
|
|
.clickLaunchIcon('udapp') |
|
|
|
|
.waitForElementPresent('*[data-id="contractDropdownIpfsCheckbox"]') |
|
|
|
@ -56,6 +57,7 @@ module.exports = { |
|
|
|
|
'Should remember choice after page refresh': function (browser: NightwatchBrowser) { |
|
|
|
|
browser |
|
|
|
|
.refresh() |
|
|
|
|
.click('*[data-id="treeViewTogglebrowser/contracts"]') |
|
|
|
|
.openFile('browser/contracts/1_Storage.sol') |
|
|
|
|
.clickLaunchIcon('udapp') |
|
|
|
|
.waitForElementPresent('*[data-id="contractDropdownIpfsCheckbox"]') |
|
|
|
|