Skip to content

Commit ae39cb0

Browse files
author
marker dao ®
committed
try(tests): Try to repaint
1 parent 74ef3c5 commit ae39cb0

File tree

1 file changed

+3
-1
lines changed
  • e2e/testcafe-devextreme/tests/htmlEditor/dialogs/aiDialog

1 file changed

+3
-1
lines changed

e2e/testcafe-devextreme/tests/htmlEditor/dialogs/aiDialog/common.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ async function openAIDialog(
4646
test(`initial state ${name}`, async (t) => {
4747
const { takeScreenshot, compareResults } = createScreenshotsComparer(t);
4848

49-
await openAIDialog(t, command, option);
49+
const htmlEditor = await openAIDialog(t, command, option);
50+
51+
await htmlEditor.getAIDialog().repaint();
5052
await testScreenshot(t, takeScreenshot, `htmleditor-ai-dialog-initial-state-${name}.png`, { element: '#container' });
5153

5254
await t

0 commit comments

Comments
 (0)