From c6ff837331a9dc2705701bff724414dc38660e9c Mon Sep 17 00:00:00 2001
From: Arie Peterson <arie@greenhost.nl>
Date: Mon, 12 Aug 2024 16:43:21 +0200
Subject: [PATCH] Adapt test to nc 29 again opening newly created document

---
 cypress/e2e/test-nextcloud.cy.js | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/cypress/e2e/test-nextcloud.cy.js b/cypress/e2e/test-nextcloud.cy.js
index bd25538e..ac9976b5 100644
--- a/cypress/e2e/test-nextcloud.cy.js
+++ b/cypress/e2e/test-nextcloud.cy.js
@@ -63,7 +63,9 @@ describe('Test nextcloud', () => {
     // With older Nextcloud, creating the new document this way would also open
     // it automatically. It seems with newer nextcloud/onlyoffice that is no
     // longer the case.
-    cy.contains('a:not(.recommendation)', file_rand).should('exist').click()
+    // Ah with 29 it seems to work again. Keeping this in commented form in
+    // case it breaks again.
+    // cy.contains('a:not(.recommendation)', file_rand).should('exist').click()
 
     // Test Onlyoffice
     cy.frameLoaded('#onlyofficeFrame')
-- 
GitLab