diff --git a/cypress/e2e/collective.spec.js b/cypress/e2e/collective.spec.js index c877a9070..b7aad0d23 100644 --- a/cypress/e2e/collective.spec.js +++ b/cypress/e2e/collective.spec.js @@ -56,8 +56,11 @@ describe('Collective', function() { cy.get(breadcrumbsSelector).should('contain', 'Preexisting Collective') cy.get(fileListSelector).should('contain', 'Readme') cy.get(fileListSelector).should('contain', '.md') - cy.get('.filelist-collectives-wrapper') - .should('contain', 'The content of this folder is best viewed in the Collectives app.') + // TODO: Fix FileListInfo for Nextcloud 28+ (Github issue #860) + if (['stable25', 'stable26', 'stable27'].includes(Cypress.env('ncVersion'))) { + cy.get('.filelist-collectives-wrapper') + .should('contain', 'The content of this folder is best viewed in the Collectives app.') + } }) })