From cec1378d5bbefa0803f31ed43ecad0f342f19555 Mon Sep 17 00:00:00 2001
From: Arie Peterson <arie@greenhost.nl>
Date: Thu, 27 Jun 2024 14:17:26 +0200
Subject: [PATCH] Attempt to ignore recommendation in test

---
 Chart.yaml                       | 2 +-
 cypress/e2e/test-nextcloud.cy.js | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Chart.yaml b/Chart.yaml
index edffa92c..ae798a10 100644
--- a/Chart.yaml
+++ b/Chart.yaml
@@ -4,7 +4,7 @@ description: |
   A helm chart for installing NextCloud and setting up ONLYOFFICE integration
 name: nextcloud-onlyoffice
 appVersion: NC-28.0.4-OO-7.2.2.56
-version: 0.15.22
+version: 0.15.23-recommendation
 icon: https://cdn.rawgit.com/docker-library/docs/defa5ffc7123177acd60ddef6e16bddf694cc35f/nextcloud/logo.svg
 dependencies:
   # https://artifacthub.io/packages/helm/nextcloud/nextcloud
diff --git a/cypress/e2e/test-nextcloud.cy.js b/cypress/e2e/test-nextcloud.cy.js
index b3940011..bd25538e 100644
--- a/cypress/e2e/test-nextcloud.cy.js
+++ b/cypress/e2e/test-nextcloud.cy.js
@@ -63,7 +63,7 @@ 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', file_rand).should('exist').click()
+    cy.contains('a:not(.recommendation)', file_rand).should('exist').click()
 
     // Test Onlyoffice
     cy.frameLoaded('#onlyofficeFrame')
-- 
GitLab