diff --git a/apps/remix-ide-e2e/src/commands/hideMetaMaskPopup.ts b/apps/remix-ide-e2e/src/commands/hideMetaMaskPopup.ts index 234a3a08cd..16aaa69962 100644 --- a/apps/remix-ide-e2e/src/commands/hideMetaMaskPopup.ts +++ b/apps/remix-ide-e2e/src/commands/hideMetaMaskPopup.ts @@ -5,7 +5,7 @@ class HideMetaMaskPopup extends EventEmitter { command(this: NightwatchBrowser) { browser .pause(5000) - .isVisible({ + .isPresent({ selector: 'button[data-testid="popover-close"]', locateStrategy: 'css selector', suppressNotFoundErrors: true,