|
|
@ -162,9 +162,11 @@ const tests = { |
|
|
|
.waitForElementVisible('input[placeholder="bytes32[] proposalNames"]') |
|
|
|
.waitForElementVisible('input[placeholder="bytes32[] proposalNames"]') |
|
|
|
.setValue('input[placeholder="bytes32[] proposalNames"]', '["0x48656c6c6f20576f726c64210000000000000000000000000000000000000000"]') |
|
|
|
.setValue('input[placeholder="bytes32[] proposalNames"]', '["0x48656c6c6f20576f726c64210000000000000000000000000000000000000000"]') |
|
|
|
.click('*[data-id="Deploy - transact (not payable)"]') // deploy ballot
|
|
|
|
.click('*[data-id="Deploy - transact (not payable)"]') // deploy ballot
|
|
|
|
|
|
|
|
.saveScreenshot('./reports/screenshots/metamask_1.png') |
|
|
|
.perform((done) => { |
|
|
|
.perform((done) => { |
|
|
|
browser.switchBrowserWindow(extension_url, 'MetaMask', (browser) => { |
|
|
|
browser.switchBrowserWindow(extension_url, 'MetaMask', (browser) => { |
|
|
|
browser |
|
|
|
browser |
|
|
|
|
|
|
|
.maximizeWindow() |
|
|
|
.saveScreenshot('./reports/screenshots/metamask_34.png') |
|
|
|
.saveScreenshot('./reports/screenshots/metamask_34.png') |
|
|
|
.pause(2000) |
|
|
|
.pause(2000) |
|
|
|
.hideMetaMaskPopup() |
|
|
|
.hideMetaMaskPopup() |
|
|
|