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 }) } }