diff --git a/test/taiko/apps.js b/test/taiko/apps.js index 0b5cb76a7a87a81b59ee4ea3289658e435c6a92c..1a26ad20cdb120ab9151f53da20c61eb5032855e 100644 --- a/test/taiko/apps.js +++ b/test/taiko/apps.js @@ -53,16 +53,16 @@ console.log('• Onlyoffice') await goto(onlyofficeUrl + '/welcome') - await waitFor(async () => (await text("Thank you for choosing ONLYOFFICE!").isVisible())) - await waitFor(async () => (await text("Document Server is running").isVisible())) + await waitFor(async () => (await text("Thank you for choosing ONLYOFFICE!").exists())) + await waitFor(async () => (await text("Document Server is running").exists())) await goto(onlyofficeUrl + '/healthcheck') - await waitFor(async () => (await text("true").isVisible())) + await waitFor(async () => (await text("true").exists())) console.log('• Nextcloud') await goto(nextcloudUrl) await sso_login_if_needed('Log in with Stackspin') - await waitFor(async () => (await text("Set location for weather").isVisible()), globalTimeout) + await waitFor(async () => (await text("Set location for weather").exists()), globalTimeout) // Close potential nextcloud first run wizard modal // https://github.com/nextcloud/firstrunwizard/issues/488 // Unfortunately, we need to sleep a while since I haven't found a @@ -73,11 +73,11 @@ // Test password app await click('Passwords') - await waitFor(async () => (await text("Handbook").isVisible()), globalTimeout) + await waitFor(async () => (await text("Handbook").exists()), globalTimeout) // Test if calendar app is enabled await click('Calendar') - await waitFor(async () => (await text("Settings & Import").isVisible()), globalTimeout) + await waitFor(async () => (await text("Settings & Import").exists()), globalTimeout) console.log('• Nextcloud Onlyoffice integration') // Open document and type some text