1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-25 20:02:58 +01:00

Fix Snaps E2E test flake (#17174)

This commit is contained in:
Frederik Bolding 2023-01-13 15:10:47 +01:00 committed by GitHub
parent dc253068f9
commit f6f691190d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,6 +33,7 @@ describe('Test Snap Installed', function () {
await driver.delay(1000); await driver.delay(1000);
const confirmButton = await driver.findElement('#connectDialogSnap'); const confirmButton = await driver.findElement('#connectDialogSnap');
await driver.scrollToElement(confirmButton); await driver.scrollToElement(confirmButton);
await driver.delay(1000);
await driver.clickElement('#connectDialogSnap'); await driver.clickElement('#connectDialogSnap');
await driver.delay(1000); await driver.delay(1000);