Skip to content

Commit

Permalink
Fix e2e test
Browse files Browse the repository at this point in the history
Wait for the notification popup to close, leaving 2 window handles the extension and the test dapp
  • Loading branch information
PeterYinusa committed Feb 6, 2023
1 parent 36513b1 commit f681030
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/tests/eth-sign.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit f681030

Please sign in to comment.