1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 01:39:44 +01:00

[e2e] Fix Dapp interactions flaky test on chrome (#16282)

This commit is contained in:
seaona 2022-10-26 16:19:15 +02:00 committed by seaona
parent b6d5afbae8
commit 2bbc0096d9

View File

@ -91,7 +91,7 @@ describe('Dapp interactions', function () {
// Connect to Dapp1
await driver.openNewPage('http://127.0.0.1:8081/');
await driver.clickElement({ text: 'Connect', tag: 'button' });
await driver.waitUntilXWindowHandles(4);
windowHandles = await driver.getAllWindowHandles();
popup = await driver.switchToWindowWithTitle(