E2E - Dont close window notifications (#6349)

* Dont close window notifications

* Remove commented out lines in beta spec
feature/default_network_editable
Thomas Huang 6 years ago committed by Dan J Miller
parent 2f13a97d00
commit 1859de0a28
  1. 2
      test/e2e/beta/metamask-beta-ui.spec.js

@ -1061,7 +1061,6 @@ describe('MetaMask', function () {
const windowHandles = await driver.getAllWindowHandles() const windowHandles = await driver.getAllWindowHandles()
const extension = windowHandles[0] const extension = windowHandles[0]
const dapp = await switchToWindowWithTitle(driver, 'E2E Test Dapp', windowHandles) const dapp = await switchToWindowWithTitle(driver, 'E2E Test Dapp', windowHandles)
await closeAllWindowHandlesExcept(driver, [extension, dapp])
await delay(regularDelayMs) await delay(regularDelayMs)
await driver.switchTo().window(dapp) await driver.switchTo().window(dapp)
@ -1070,7 +1069,6 @@ describe('MetaMask', function () {
const transferTokens = await findElement(driver, By.xpath(`//button[contains(text(), 'Transfer Tokens')]`)) const transferTokens = await findElement(driver, By.xpath(`//button[contains(text(), 'Transfer Tokens')]`))
await transferTokens.click() await transferTokens.click()
await closeAllWindowHandlesExcept(driver, [extension, dapp])
await driver.switchTo().window(extension) await driver.switchTo().window(extension)
await delay(largeDelayMs) await delay(largeDelayMs)

Loading…
Cancel
Save