wait for element

pull/5370/head
bunsenstraat 3 years ago
parent a7ded1299f
commit d3e2769d43
  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