|
|
|
@ -77,7 +77,7 @@ const tests = { |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
'Should deploy contract on Sepolia Test Network using MetaMask #group1': function (browser: NightwatchBrowser) { |
|
|
|
|
browser.clearConsole().waitForElementPresent('*[data-id="runTabSelectAccount"] option', 45000) |
|
|
|
|
browser.clearConsole().waitForElementPresent('*[data-id="runTabSelectAccount"]', 45000) |
|
|
|
|
.clickLaunchIcon('filePanel') |
|
|
|
|
.openFile('Greet.sol') |
|
|
|
|
.clickLaunchIcon('udapp') |
|
|
|
@ -169,7 +169,7 @@ const tests = { |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
'Should deploy contract on Sepolia Test Network using MetaMask again #group1': function (browser: NightwatchBrowser) { |
|
|
|
|
browser.clearConsole().waitForElementPresent('*[data-id="runTabSelectAccount"] option', 45000) |
|
|
|
|
browser.clearConsole().waitForElementPresent('*[data-id="runTabSelectAccount"]', 45000) |
|
|
|
|
.clickLaunchIcon('filePanel') |
|
|
|
|
.openFile('Greet.sol') |
|
|
|
|
.clickLaunchIcon('udapp') |
|
|
|
@ -210,7 +210,7 @@ const tests = { |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
'Should deploy contract on Ethereum Main Network using MetaMask #group1': function (browser: NightwatchBrowser) { |
|
|
|
|
browser.waitForElementPresent('*[data-id="runTabSelectAccount"] option') |
|
|
|
|
browser.waitForElementPresent('*[data-id="runTabSelectAccount"]') |
|
|
|
|
.clickLaunchIcon('filePanel') |
|
|
|
|
.addFile('Greet.sol', sources[0]['Greet.sol']) |
|
|
|
|
.clickLaunchIcon('udapp') |
|
|
|
|