How to add an implicit wait in Jest framework ?
Hi Rhian!
It’s easy to add an implicit wait while using Jest framework. You can use the following code snippet in your test scripts.
await browser.setTimeout({ 'script': 60000 })
await browser.executeAsync((done) => {
console.log('this should not fail')
setTimeout(done, 59000)
})