wait for element

indexworkspace2
bunsenstraat 3 years ago
parent 247cc18dba
commit bea4cee4c4
  1. 2
      apps/remix-ide-e2e/src/tests/plugin_api.ts

@ -80,7 +80,7 @@ const checkForAcceptAndRemember = async function (browser: NightwatchBrowser) {
// @ts-ignore
browser.frame(0, () => { resolve(true) })
} else {
browser.click('//*[@id="remember"]').click('//*[@id="modal-footer-ok"]', () => {
browser.waitForElementVisible('//*[@id="remember"]').click('//*[@id="remember"]').click('//*[@id="modal-footer-ok"]', () => {
// @ts-ignore
browser.frame(0, () => { resolve(true) })
})

Loading…
Cancel
Save