diff --git a/cypress/e2e/share-link.js b/cypress/e2e/share-link.js index 9d01d35454..c16053f6d7 100644 --- a/cypress/e2e/share-link.js +++ b/cypress/e2e/share-link.js @@ -58,7 +58,9 @@ describe('Public sharing of office documents', function() { }, }) - cy.inputCollaboraGuestName(guestName) + // Assert that we do not ask for guest name on readonly document + cy.get('[data-cy="guestNameModal"]').should('not.exist') + cy.waitForCollabora() cy.waitForPostMessage('App_LoadingStatus', { Status: 'Document_Loaded' })