Skip to content

Commit

Permalink
make typing visible for a longer time
Browse files Browse the repository at this point in the history
  • Loading branch information
ksercs committed Dec 10, 2024
1 parent 95b867e commit 56e9db4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/demos/testing/widgets/chat/Overview.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ runManualTest('Chat', 'Overview', ['jQuery', 'React', 'Vue', 'Angular'], (test)
test('Overview', async (t) => {
await ClientFunction(() => {
const styleElement = document.createElement('style');
styleElement.innerHTML = `.dx-chat-typingindicator-circle { animation: none !important; }`;
styleElement.innerHTML = '.dx-chat-typingindicator-circle { animation: none !important; }';
document.head.appendChild(styleElement);
});
})();

const { takeScreenshot, compareResults } = createScreenshotsComparer(t);

await t.typeText(USER_CHAT_INPUT_SELECTOR, 'left chat typing testing');
await t.typeText(USER_CHAT_INPUT_SELECTOR, 'testing');

await testScreenshot(t, takeScreenshot, 'chat_typing_indicator.png');

Expand Down

0 comments on commit 56e9db4

Please sign in to comment.