Skip to content
Snippets Groups Projects
Unverified Commit 80066f6c authored by Varac's avatar Varac
Browse files

Taiko: use .exists instead of .isVisible for text

parent e72eab4d
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment