add more chsks

pull/4978/head
Your Name 4 months ago committed by Aniket
parent 25e78b1798
commit 49b5234f5f
  1. 7
      apps/remix-ide-e2e/src/commands/setupMetamask.ts

@ -71,6 +71,13 @@ function setupMetaMask(browser: NightwatchBrowser, passphrase: string, password:
browser.click('button[data-testid="popover-close"]') browser.click('button[data-testid="popover-close"]')
} }
}) })
.waitForElementNotPresent({
selector: 'button[data-testid="popover-close"]',
locateStrategy: 'css selector',
suppressNotFoundErrors: true,
abortOnFailure: false,
timeout: 10000
})
.saveScreenshot('./reports/screenshot/metamask.png') .saveScreenshot('./reports/screenshot/metamask.png')
.click('[data-testid="network-display"]') .click('[data-testid="network-display"]')
.click('.mm-modal-content label.toggle-button--off') // show test networks .click('.mm-modal-content label.toggle-button--off') // show test networks

Loading…
Cancel
Save