From a8a6aae136979890cd6f3f7f07ae69f25d1216d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marker=20dao=20=C2=AE?= Date: Wed, 11 Dec 2024 14:51:35 +0100 Subject: [PATCH] test(ti): Remove after && Add repaint in the start of test --- e2e/testcafe-devextreme/tests/chat/typingIndicator.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/e2e/testcafe-devextreme/tests/chat/typingIndicator.ts b/e2e/testcafe-devextreme/tests/chat/typingIndicator.ts index cfaeddd410a..8c62b5317d6 100644 --- a/e2e/testcafe-devextreme/tests/chat/typingIndicator.ts +++ b/e2e/testcafe-devextreme/tests/chat/typingIndicator.ts @@ -15,6 +15,7 @@ test('Chat: typing indicator with emptyview', async (t) => { const { takeScreenshot, compareResults } = createScreenshotsComparer(t); const chat = new Chat('#container'); + await chat.repaint(); await testScreenshot(t, takeScreenshot, 'Typing indicator with emptyview.png', { element: '#container', @@ -48,9 +49,6 @@ test('Chat: typing indicator with emptyview', async (t) => { height: 600, typingUsers, }); -}).after(async () => { - const chat = new Chat('#container'); - await chat.repaint(); }); test('Chat: typing indicator with a lot of items', async (t) => {