From f6810309766e2b688b4dc3d7d8290258e0184046 Mon Sep 17 00:00:00 2001 From: PeterYinusa Date: Mon, 6 Feb 2023 11:59:16 +0000 Subject: [PATCH] Fix e2e test Wait for the notification popup to close, leaving 2 window handles the extension and the test dapp --- test/e2e/tests/eth-sign.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/tests/eth-sign.spec.js b/test/e2e/tests/eth-sign.spec.js index 6dbf5a74b120..3bb1e10f65dd 100644 --- a/test/e2e/tests/eth-sign.spec.js +++ b/test/e2e/tests/eth-sign.spec.js @@ -91,7 +91,7 @@ describe('Eth sign', function () { '.signature-request-warning__footer__sign-button', ); // Switch to the Dapp - await driver.waitUntilXWindowHandles(3); + await driver.waitUntilXWindowHandles(2); windowHandles = await driver.getAllWindowHandles(); await driver.switchToWindowWithTitle('E2E Test Dapp', windowHandles);