From 09a8654cab1ba0bbcd088127d7939aad9d5abf6d Mon Sep 17 00:00:00 2001 From: Jakob Ackermann Date: Mon, 29 Jul 2024 11:57:10 +0200 Subject: [PATCH] Merge pull request #19632 from overleaf/jpa-more-robust-chat-message [server-pro] tests: make sending of chat message more robust GitOrigin-RevId: 4c54e289af722960560e1e2c8074d0d3efcc601c --- server-ce/test/project-sharing.spec.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server-ce/test/project-sharing.spec.ts b/server-ce/test/project-sharing.spec.ts index 482b4be14e..e14f36d778 100644 --- a/server-ce/test/project-sharing.spec.ts +++ b/server-ce/test/project-sharing.spec.ts @@ -36,6 +36,8 @@ describe('Project Sharing', function () { // Add chat message cy.findByText('Chat').click() + // wait for lazy loading of the chat pane + cy.findByText('Send your first message to your collaborators') cy.get( 'textarea[placeholder="Send a message to your collaborators…"]' ).type('New Chat Message{enter}')