diff --git a/test/behave/features/nextcloud.feature b/test/behave/features/nextcloud.feature
index 23a3cf0ba8e9f0d0d1e9b11fe6955e4c8a2e50e0..17b5bbbc212eb147c7c4b6d270de8228d80bccf5 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" is not visible
+  Then I expect that element "#firstrunwizard" does not exist
 
 Scenario: Create a new document in OnlyOffice
   When I click on the element ".actions a.button.new"