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

Update test to reflect new html naming

parent bd978c71
No related branches found
No related tags found
1 merge request!573Update Helm release nextcloud to v4.6.4
......@@ -55,10 +55,10 @@ describe('Test nextcloud', () => {
// Create a new OO document with a random file name
cy.visit('apps/files')
cy.get('.new').click()
cy.contains('button', 'New').click()
const file_rand = 'test-' + Math.random().toString(16).substr(2, 12)
cy.get('[data-action=template-new-onlyoffice-1]').click().type(file_rand)
cy.get('.icon-confirm').click()
cy.contains('button', 'New document').click().type(file_rand)
cy.contains('button', 'Create').click()
// Test Onlyoffice
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