pull/4673/head
yann300 7 months ago
parent 4a9a51f4dd
commit b066e666e5
  1. 3
      apps/remix-ide-e2e/src/commands/setupMetamask.ts

@ -52,6 +52,9 @@ function setupMetaMask (browser: NightwatchBrowser, passphrase: string, password
.waitForElementVisible('button[data-testid="popover-close"]')
.click('button[data-testid="popover-close"]')
.pause(1000)
.isPresent('button[data-testid="popover-close"]', () => {
browser.click('button[data-testid="popover-close"]')
})
.click('[data-testid="network-display"]')
.click('.mm-modal-content label.toggle-button--off') // show test networks
.click('div[data-testid="Sepolia"]') // switch to sepolia

Loading…
Cancel
Save