diff --git a/cypress/e2e/test-nextcloud.cy.js b/cypress/e2e/test-nextcloud.cy.js index 39939c4866dd6c7ceaf547e27c966c7c3d043830..cdbc5eda8b3dde9ca1cccb1a4c277a60769805b1 100644 --- a/cypress/e2e/test-nextcloud.cy.js +++ b/cypress/e2e/test-nextcloud.cy.js @@ -57,8 +57,9 @@ describe('Test nextcloud', () => { cy.visit('apps/files') cy.contains('button', 'New').click() const file_rand = 'test-' + Math.random().toString(16).substr(2, 12) - cy.contains('button', 'New document').click().type(file_rand) - cy.contains('button', 'Create').click() + cy.contains('button', 'New document').click() + cy.get('input[placeholder="Filename"]').type(file_rand) + cy.contains('span', 'Create').click() // Test Onlyoffice cy.frameLoaded('#onlyofficeFrame')