Skip to content

Commit

Permalink
tests: Adapt to new postmessage wait command
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Härtl <[email protected]>
  • Loading branch information
juliusknorr committed Apr 30, 2024
1 parent b5b7e58 commit e86bf5c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cypress/e2e/share-link.js
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -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()
Expand All @@ -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()
Expand Down

0 comments on commit e86bf5c

Please sign in to comment.