diff --git a/test/behave/features/nextcloud.feature b/test/behave/features/nextcloud.feature
index 17b5bbbc212eb147c7c4b6d270de8228d80bccf5..d358198c3d657e89288a679c9348d6d8b4e3e564 100644
--- a/test/behave/features/nextcloud.feature
+++ b/test/behave/features/nextcloud.feature
@@ -22,7 +22,7 @@ Scenario: Login to nextcloud
 Scenario: Close welcome to nextcloud modal
   Given the element "#firstrunwizard" is visible
   When I click on the element "a.close.icon-close"
-  Then I expect that element "#firstrunwizard" does not exist
+  Then I wait on element "#firstrunwizard" for 1000ms to not be visible
 
 Scenario: Create a new document in OnlyOffice
   When I click on the element ".actions a.button.new"