Skip to content

Commit

Permalink
stop animation to make the test more stable
Browse files Browse the repository at this point in the history
  • Loading branch information
ksercs committed Dec 9, 2024
1 parent e90593f commit 18cff4a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/demos/testing/widgets/chat/Overview.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ fixture('Chat.Overview')

runManualTest('Chat', 'Overview', ['jQuery', 'React', 'Vue', 'Angular'], (test) => {
test('Overview', async (t) => {
const styleElement = document.createElement('style');
styleElement.innerHTML = `.dx-chat-typingindicator-circle { animation: none !important; }`;
document.head.appendChild(styleElement);

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

await t.typeText('#user-chat .dx-texteditor-input', 'testing');
Expand Down

0 comments on commit 18cff4a

Please sign in to comment.