diff --git a/cypress/e2e/test-nextcloud.cy.js b/cypress/e2e/test-nextcloud.cy.js index 614990480775bec6c902bca53ae789a12f5e68f3..b394001128b43ed177e9a509c08e461925fc8e57 100644 --- a/cypress/e2e/test-nextcloud.cy.js +++ b/cypress/e2e/test-nextcloud.cy.js @@ -60,10 +60,10 @@ describe('Test nextcloud', () => { cy.contains('button', 'New document').click() cy.get('input[placeholder="Filename"]').type('{selectAll}{del}' + file_rand + '.docx') cy.contains('span', 'Create').click() - // Before, creating the new document this way would also open it - // automatically. It seems with newer nextcloud/onlyoffice that is no + // 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('span', file_rand).should('exist').click() + cy.contains('a', file_rand).should('exist').click() // Test Onlyoffice cy.frameLoaded('#onlyofficeFrame')