From c7c111d533412c12cecb0bc755c9566f0c25f465 Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 15 Jul 2024 13:33:40 +0200 Subject: [PATCH] hide popups --- apps/remix-ide-e2e/src/commands/hideMetaMaskPopup.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/remix-ide-e2e/src/commands/hideMetaMaskPopup.ts b/apps/remix-ide-e2e/src/commands/hideMetaMaskPopup.ts index 2ce61ca9c7..81e54b7ef0 100644 --- a/apps/remix-ide-e2e/src/commands/hideMetaMaskPopup.ts +++ b/apps/remix-ide-e2e/src/commands/hideMetaMaskPopup.ts @@ -9,13 +9,13 @@ class HideMetaMaskPopup extends EventEmitter { locateStrategy: 'css selector', suppressNotFoundErrors: true, abortOnFailure: false, - timeout: 10000 + timeout: 2000 }) .isVisible({ selector: 'button[data-testid="popover-close"]', locateStrategy: 'css selector', suppressNotFoundErrors: true, - timeout: 3000 + timeout: 2000 }, (okVisible) => { console.log('okVisible', okVisible) if (!okVisible.value) { @@ -28,7 +28,7 @@ class HideMetaMaskPopup extends EventEmitter { .waitForElementNotPresent({ selector: 'button[data-testid="popover-close"]', locateStrategy: 'css selector', - timeout: 3000 + timeout: 2000 }) } }