From cf99b8307627c88d60b325a77c119f9fa19209cb Mon Sep 17 00:00:00 2001
From: Varac <varac@varac.net>
Date: Tue, 29 Jun 2021 17:47:25 +0200
Subject: [PATCH] Check onlyoffice as well

---
 test/taiko/apps.js | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/test/taiko/apps.js b/test/taiko/apps.js
index 2c746ad17..c4984fa18 100644
--- a/test/taiko/apps.js
+++ b/test/taiko/apps.js
@@ -16,13 +16,17 @@ const assert = require('assert');
     console.log('Executing these tests: ' + taikoTests)
     await openBrowser()
 
-    // Nextcloud
+    // Nextcloud and Onlyoffice
     if (taikoTests.includes('nextcloud') || taikoTests === 'all') {
       const nextcloudUrl = 'https://files.' + domain
+      const onlyofficeUrl = 'https://office.' + domain
       const nextcloudUsername = process.env.NEXTCLOUD_USERNAME || 'admin'
       const nextcloudPassword = process.env.NEXTCLOUD_PASSWORD
       console.log('• Nextcloud and Onlyoffice')
 
+      await goto(onlyofficeUrl + '/welcome')
+      await waitFor('Document Server is running')
+
       await goto(nextcloudUrl)
       await write(nextcloudUsername, into(textBox('Username')))
       await write(nextcloudPassword, into(textBox('Password')))
-- 
GitLab