maximise window

pull/5343/head
bunsenstraat 3 weeks ago committed by Aniket
parent 5c0877e978
commit 7283e6ae72
  1. 2
      apps/remix-ide-e2e/src/tests/runAndDeploy_injected.test.ts

@ -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()

Loading…
Cancel
Save