hide popups

pull/5370/head
Your Name 4 months ago committed by Aniket
parent 53ee7da22d
commit 4c2414a870
  1. 6
      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
})
}
}

Loading…
Cancel
Save