Skip to content

Commit

Permalink
Dont close window notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
tmashuang committed Mar 26, 2019
1 parent 2f13a97 commit 1afd8d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e/beta/metamask-beta-ui.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -1061,7 +1061,7 @@ describe('MetaMask', function () {
const windowHandles = await driver.getAllWindowHandles()
const extension = windowHandles[0]
const dapp = await switchToWindowWithTitle(driver, 'E2E Test Dapp', windowHandles)
await closeAllWindowHandlesExcept(driver, [extension, dapp])
// await closeAllWindowHandlesExcept(driver, [extension, dapp])
await delay(regularDelayMs)

await driver.switchTo().window(dapp)
Expand All @@ -1070,7 +1070,7 @@ describe('MetaMask', function () {
const transferTokens = await findElement(driver, By.xpath(`//button[contains(text(), 'Transfer Tokens')]`))
await transferTokens.click()

await closeAllWindowHandlesExcept(driver, [extension, dapp])
// await closeAllWindowHandlesExcept(driver, [extension, dapp])
await driver.switchTo().window(extension)
await delay(largeDelayMs)

Expand Down

0 comments on commit 1afd8d0

Please sign in to comment.