From 8ebc300591c22d46be66514e418c0eeaf74062a9 Mon Sep 17 00:00:00 2001
From: Varac <varac@varac.net>
Date: Fri, 25 Jun 2021 10:56:07 +0200
Subject: [PATCH] Wait 5s for first run wizard modal

---
 test/taiko/apps.js | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/test/taiko/apps.js b/test/taiko/apps.js
index ba4aafd8e..ef06c6ce2 100644
--- a/test/taiko/apps.js
+++ b/test/taiko/apps.js
@@ -15,8 +15,6 @@ const assert = require('assert');
     await openBrowser()
     // await screencast.startScreencast('output.gif')
 
-    // Wait for manual screencast recording
-    // await waitFor(5000)
 
     // Nextcloud
     if (taikoTests.includes('nextcloud') || taikoTests === 'all') {
@@ -31,7 +29,12 @@ const assert = require('assert');
 
       await click('Log in')
 
-      // Close potential nextcloud modal
+      // 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
+      // good way that closes the modal *if* it pops up, since these
+      // tests should also work on subsequent logins.
+      await waitFor(5000)
       await press('Escape')
 
       // Open document and type some text
-- 
GitLab