Skip to content

Commit 28c9451

Browse files
committed
change wait
1 parent ff23872 commit 28c9451

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/devextreme-cli/testing/app-template.test.shared.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ module.exports = (env, { port = 8080, urls = {} } = {}) => {
191191

192192
// TODO: fix false positive screenshot failure and uncomment
193193
await switchTheme();
194-
await page.waitForLoadState('networkidle');
194+
await page.waitForFunction(() => document.fonts.ready);
195195
await compareThemeModeSnapshot('profile', 'dark');
196196
await switchTheme();
197197
// test

0 commit comments

Comments
 (0)