Merge pull request #19632 from overleaf/jpa-more-robust-chat-message

[server-pro] tests: make sending of chat message more robust

GitOrigin-RevId: 4c54e289af722960560e1e2c8074d0d3efcc601c
This commit is contained in:
Jakob Ackermann 2024-07-29 11:57:10 +02:00 committed by Copybot
parent 8748ac7475
commit 09a8654cab

View file

@ -36,6 +36,8 @@ describe('Project Sharing', function () {
// Add chat message // Add chat message
cy.findByText('Chat').click() cy.findByText('Chat').click()
// wait for lazy loading of the chat pane
cy.findByText('Send your first message to your collaborators')
cy.get( cy.get(
'textarea[placeholder="Send a message to your collaborators…"]' 'textarea[placeholder="Send a message to your collaborators…"]'
).type('New Chat Message{enter}') ).type('New Chat Message{enter}')