From 1859de0a28eeb4e133a5a219b1e3fdc64fb434fc Mon Sep 17 00:00:00 2001 From: Thomas Huang Date: Tue, 26 Mar 2019 10:24:01 -0400 Subject: E2E - Dont close window notifications (#6349) * Dont close window notifications * Remove commented out lines in beta spec --- test/e2e/beta/metamask-beta-ui.spec.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/e2e/beta/metamask-beta-ui.spec.js b/test/e2e/beta/metamask-beta-ui.spec.js index e25b7edf1..2700d1656 100644 --- a/test/e2e/beta/metamask-beta-ui.spec.js +++ b/test/e2e/beta/metamask-beta-ui.spec.js @@ -1061,7 +1061,6 @@ 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 delay(regularDelayMs) await driver.switchTo().window(dapp) @@ -1070,7 +1069,6 @@ describe('MetaMask', function () { const transferTokens = await findElement(driver, By.xpath(`//button[contains(text(), 'Transfer Tokens')]`)) await transferTokens.click() - await closeAllWindowHandlesExcept(driver, [extension, dapp]) await driver.switchTo().window(extension) await delay(largeDelayMs) -- cgit v1.2.3