Skip to content
Snippets Groups Projects
Commit 50ce3ff5 authored by Varac's avatar Varac
Browse files

Merge branch '897-onlyoffice-taiko-test-should-catch' into 'master'

Resolve "Onlyoffice taiko test should catch installation error"

Closes #897

See merge request openappstack/openappstack!462
parents bdaf20ae bf1936d3
No related branches found
No related tags found
No related merge requests found
......@@ -35,11 +35,16 @@ const assert = require('assert');
const onlyofficeUrl = 'https://office.' + domain
const nextcloudUsername = process.env.NEXTCLOUD_USERNAME || 'admin'
const nextcloudPassword = process.env.NEXTCLOUD_PASSWORD
console.log('Nextcloud and Onlyoffice')
console.log('• Onlyoffice')
await goto(onlyofficeUrl + '/welcome')
await waitFor('Document Server is running')
await waitFor(async () => (await text("Thank you for choosing ONLYOFFICE!").isVisible()))
await waitFor(async () => (await text("Document Server is running").isVisible()))
await goto(onlyofficeUrl + '/healthcheck')
await waitFor(async () => (await text("true").isVisible()))
console.log('• Nextcloud')
await goto(nextcloudUrl)
await write(nextcloudUsername, into(textBox('Username')))
await write(nextcloudPassword, into(textBox('Password')))
......@@ -54,6 +59,7 @@ const assert = require('assert');
await waitFor(5000)
await press('Escape')
console.log('• Nextcloud Onlyoffice integration')
// Open document and type some text
await click(link(), above('Add notes'))
await click('Document')
......
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