1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 01:47:00 +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 GitHub
parent cf265ed7ef
commit c519d3ef91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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(