|
|
|
@ -16,7 +16,7 @@ module.exports = { |
|
|
|
|
browser |
|
|
|
|
.waitForElementVisible('#icon-panel', 10000) |
|
|
|
|
.clickLaunchIcon('fileExplorers') |
|
|
|
|
.click('*[data-id="treeViewTogglebrowser/contracts"]') |
|
|
|
|
.click('[data-id="treeViewLitreeViewItembrowser/contracts"]') |
|
|
|
|
.openFile('browser/contracts/3_Ballot.sol') |
|
|
|
|
.verifyContracts(['Ballot']) |
|
|
|
|
.click('#publishOnIpfs') |
|
|
|
@ -43,8 +43,8 @@ module.exports = { |
|
|
|
|
browser |
|
|
|
|
.waitForElementVisible('#icon-panel') |
|
|
|
|
.clickLaunchIcon('fileExplorers') |
|
|
|
|
.click('*[data-id="treeViewLibrowser/contracts"]') |
|
|
|
|
.click('*[data-id="treeViewLibrowser/contracts"]') |
|
|
|
|
// .click('*[data-id="treeViewLibrowser/contracts"]')
|
|
|
|
|
// .click('*[data-id="treeViewLibrowser/contracts"]')
|
|
|
|
|
.openFile('browser/contracts/1_Storage.sol') |
|
|
|
|
.clickLaunchIcon('udapp') |
|
|
|
|
.waitForElementPresent('*[data-id="contractDropdownIpfsCheckbox"]') |
|
|
|
@ -58,9 +58,9 @@ module.exports = { |
|
|
|
|
'Should remember choice after page refresh': function (browser: NightwatchBrowser) { |
|
|
|
|
browser |
|
|
|
|
.refresh() |
|
|
|
|
.waitForElementVisible('*[data-id="treeViewLibrowser/contracts"]') |
|
|
|
|
.click('*[data-id="treeViewLibrowser/contracts"]') |
|
|
|
|
.click('*[data-id="treeViewLibrowser/contracts"]') |
|
|
|
|
.waitForElementVisible('[data-id="treeViewLitreeViewItembrowser/contracts"]') |
|
|
|
|
.click('[data-id="treeViewLitreeViewItembrowser/contracts"]') |
|
|
|
|
// .click('*[data-id="treeViewLibrowser/contracts"]')
|
|
|
|
|
.openFile('browser/contracts/1_Storage.sol') |
|
|
|
|
.clickLaunchIcon('udapp') |
|
|
|
|
.waitForElementPresent('*[data-id="contractDropdownIpfsCheckbox"]') |
|
|
|
|