From c0bb8efae72cec8cdd57df3a8a702e2e4b26baf7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marker=20dao=20=C2=AE?= Date: Thu, 10 Oct 2024 19:51:22 +0200 Subject: [PATCH] fix(chat): Add renderMessage into onMessageSend --- e2e/testcafe-devextreme/tests/chat/messageList.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/e2e/testcafe-devextreme/tests/chat/messageList.ts b/e2e/testcafe-devextreme/tests/chat/messageList.ts index 803355457dba..8859d6492f22 100644 --- a/e2e/testcafe-devextreme/tests/chat/messageList.ts +++ b/e2e/testcafe-devextreme/tests/chat/messageList.ts @@ -104,6 +104,11 @@ test('Messagelist appearance with scrollbar', async (t) => { user: userSecond, width: 400, height: 600, + onMessageSend: (e) => { + const { component, message } = e; + + component.renderMessage(message); + }, }); });