aboutsummaryrefslogtreecommitdiffstats
path: root/test/e2e/beta/metamask-beta-ui.spec.js
diff options
context:
space:
mode:
authorDan Miller <danjm.com@gmail.com>2018-07-24 21:54:36 +0800
committerDan Miller <danjm.com@gmail.com>2018-07-24 21:54:36 +0800
commitcb8ea12db626e82b7230317fc74b6b80ce20f793 (patch)
tree4739cf9fb9727dcb52bdc1a198ed4371a72bbf7b /test/e2e/beta/metamask-beta-ui.spec.js
parent152246f3b0862c8c5a8b42872852d236400c0e9d (diff)
downloadtangerine-wallet-browser-cb8ea12db626e82b7230317fc74b6b80ce20f793.tar
tangerine-wallet-browser-cb8ea12db626e82b7230317fc74b6b80ce20f793.tar.gz
tangerine-wallet-browser-cb8ea12db626e82b7230317fc74b6b80ce20f793.tar.bz2
tangerine-wallet-browser-cb8ea12db626e82b7230317fc74b6b80ce20f793.tar.lz
tangerine-wallet-browser-cb8ea12db626e82b7230317fc74b6b80ce20f793.tar.xz
tangerine-wallet-browser-cb8ea12db626e82b7230317fc74b6b80ce20f793.tar.zst
tangerine-wallet-browser-cb8ea12db626e82b7230317fc74b6b80ce20f793.zip
Updates e2e beta tests to ensure that popup window closes after confirming a simple send.
Diffstat (limited to 'test/e2e/beta/metamask-beta-ui.spec.js')
-rw-r--r--test/e2e/beta/metamask-beta-ui.spec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/e2e/beta/metamask-beta-ui.spec.js b/test/e2e/beta/metamask-beta-ui.spec.js
index ee1aa0ff1..ca1977c5a 100644
--- a/test/e2e/beta/metamask-beta-ui.spec.js
+++ b/test/e2e/beta/metamask-beta-ui.spec.js
@@ -472,7 +472,7 @@ describe('MetaMask', function () {
await confirmButton.click()
await delay(regularDelayMs)
- await closeAllWindowHandlesExcept(driver, [extension, dapp])
+ await waitUntilXWindowHandles(driver, 2)
await driver.switchTo().window(extension)
await delay(regularDelayMs)
})