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