|
|
|
@ -80,7 +80,7 @@ module.exports = { |
|
|
|
|
.end() |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
'Should connect to Goerli Test Network using MetaMask': '' + function (browser: NightwatchBrowser) { |
|
|
|
|
'Should connect to Goerli Test Network using MetaMask': !function (browser: NightwatchBrowser) { |
|
|
|
|
browser.waitForElementPresent('*[data-id="remixIdeSidePanel"]') |
|
|
|
|
.setupMetamask(passphrase, password) |
|
|
|
|
.click('.network-indicator__down-arrow') |
|
|
|
@ -101,7 +101,7 @@ module.exports = { |
|
|
|
|
.switchBrowserTab(0) |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
'Should deploy contract on Goerli Test Network using MetaMask': '' + function (browser: NightwatchBrowser) { |
|
|
|
|
'Should deploy contract on Goerli Test Network using MetaMask': !function (browser: NightwatchBrowser) { |
|
|
|
|
browser.waitForElementPresent('*[data-id="runTabSelectAccount"] option') |
|
|
|
|
.clickLaunchIcon('filePanel') |
|
|
|
|
.openFile('Greet.sol') |
|
|
|
@ -118,7 +118,7 @@ module.exports = { |
|
|
|
|
.switchBrowserTab(0) |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
'Should run low level interaction (fallback function) on Goerli Test Network using MetaMask': '' + function (browser: NightwatchBrowser) { |
|
|
|
|
'Should run low level interaction (fallback function) on Goerli Test Network using MetaMask': !function (browser: NightwatchBrowser) { |
|
|
|
|
browser.waitForElementPresent('*[data-id="remixIdeSidePanel"]') |
|
|
|
|
.waitForElementPresent('*[data-id="universalDappUiTitleExpander"]') |
|
|
|
|
.click('*[data-id="universalDappUiTitleExpander"]') |
|
|
|
@ -135,7 +135,7 @@ module.exports = { |
|
|
|
|
.end() |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
'Should connect to Ethereum Main Network using MetaMask': '' + function (browser: NightwatchBrowser) { |
|
|
|
|
'Should connect to Ethereum Main Network using MetaMask': !function (browser: NightwatchBrowser) { |
|
|
|
|
browser.waitForElementPresent('*[data-id="remixIdeSidePanel"]') |
|
|
|
|
.switchBrowserTab(2) |
|
|
|
|
.waitForElementPresent('.network-indicator__down-arrow') |
|
|
|
@ -153,7 +153,7 @@ module.exports = { |
|
|
|
|
.assert.containsText('*[data-id="settingsNetworkEnv"]', 'Main (1) network') |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
'Should deploy contract on Ethereum Main Network using MetaMask': '' + function (browser: NightwatchBrowser) { |
|
|
|
|
'Should deploy contract on Ethereum Main Network using MetaMask': !function (browser: NightwatchBrowser) { |
|
|
|
|
browser.waitForElementPresent('*[data-id="runTabSelectAccount"] option') |
|
|
|
|
.clickLaunchIcon('filePanel') |
|
|
|
|
.openFile('Greet.sol') |
|
|
|
@ -173,7 +173,7 @@ module.exports = { |
|
|
|
|
* - Ropsten node for retrieving the trace and storage |
|
|
|
|
* |
|
|
|
|
*/ |
|
|
|
|
'Should debug Ropsten transaction with source highlighting using the source verifier service and MetaMask': '' + function (browser: NightwatchBrowser) { |
|
|
|
|
'Should debug Ropsten transaction with source highlighting using the source verifier service and MetaMask': !function (browser: NightwatchBrowser) { |
|
|
|
|
browser.waitForElementPresent('*[data-id="remixIdeSidePanel"]') |
|
|
|
|
.waitForElementVisible('*[data-id="remixIdeIconPanel"]', 10000) |
|
|
|
|
.switchBrowserTab(2) |
|
|
|
@ -198,7 +198,7 @@ module.exports = { |
|
|
|
|
.assert.containsText('*[data-id="solidityLocals"]', 'to: 0x6C3CCC7FBA111707D5A1AAF2758E9D4F4AC5E7B1') |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
'Call web3.eth.getAccounts() using Injected Provider (Metamask)': '' + function (browser: NightwatchBrowser) { |
|
|
|
|
'Call web3.eth.getAccounts() using Injected Provider (Metamask)': !function (browser: NightwatchBrowser) { |
|
|
|
|
browser |
|
|
|
|
.executeScriptInTerminal('web3.eth.getAccounts()') |
|
|
|
|
.pause(2000) |
|
|
|
|