Skip to content
Snippets Groups Projects
Commit 79bc8423 authored by Arie Peterson's avatar Arie Peterson
Browse files

Improve onlyoffice test to not match the recent files entry

parent db11e270
No related branches found
No related tags found
No related merge requests found
...@@ -60,10 +60,10 @@ describe('Test nextcloud', () => { ...@@ -60,10 +60,10 @@ describe('Test nextcloud', () => {
cy.contains('button', 'New document').click() cy.contains('button', 'New document').click()
cy.get('input[placeholder="Filename"]').type('{selectAll}{del}' + file_rand + '.docx') cy.get('input[placeholder="Filename"]').type('{selectAll}{del}' + file_rand + '.docx')
cy.contains('span', 'Create').click() cy.contains('span', 'Create').click()
// Before, creating the new document this way would also open it // With older Nextcloud, creating the new document this way would also open
// automatically. It seems with newer nextcloud/onlyoffice that is no // it automatically. It seems with newer nextcloud/onlyoffice that is no
// longer the case. // longer the case.
cy.contains('span', file_rand).should('exist').click() cy.contains('a', file_rand).should('exist').click()
// Test Onlyoffice // Test Onlyoffice
cy.frameLoaded('#onlyofficeFrame') cy.frameLoaded('#onlyofficeFrame')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment