diff --git a/cypress/e2e/share-link.js b/cypress/e2e/share-link.js index ad50eeb577..3b9e61f20a 100644 --- a/cypress/e2e/share-link.js +++ b/cypress/e2e/share-link.js @@ -75,7 +75,7 @@ describe('Public sharing of office documents', function() { cy.inputCollaboraGuestName(guestName) cy.waitForCollabora() - cy.waitForDocumentStatus('Initialized') + cy.waitForPostMessage('App_LoadingStatus', { Status: 'Document_Loaded' }) cy.get('@loleafletframe').within(() => { cy.get('#closebutton').click() @@ -103,7 +103,7 @@ describe('Public sharing of office documents', function() { cy.waitForViewer() cy.waitForCollabora() - cy.waitForDocumentStatus('Initialized') + cy.waitForPostMessage('App_LoadingStatus', { Status: 'Document_Loaded' }) cy.get('@loleafletframe').within(() => { cy.get('#closebutton').click() @@ -129,7 +129,7 @@ describe('Public sharing of office documents', function() { cy.inputCollaboraGuestName(guestName) cy.waitForViewer() cy.waitForCollabora() - cy.waitForDocumentStatus('Initialized') + cy.waitForPostMessage('App_LoadingStatus', { Status: 'Document_Loaded' }) cy.get('@loleafletframe').within(() => { cy.get('#closebutton').click()