Skip to content

Commit 5c175fe

Browse files
committed
add wait
1 parent aef69dc commit 5c175fe

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,10 +199,9 @@ module.exports = (env, { port = 8080, urls = {} } = {}) => {
199199
// TODO: fix false positive screenshot failure and uncomment
200200
await switchTheme();
201201
// eslint-disable-next-line no-undef
202-
await page.waitForFunction(() => document.fonts.ready);
202+
await page.waitForTimeout(3000);
203203
await compareThemeModeSnapshot('profile', 'dark');
204204
await switchTheme();
205-
// test
206205

207206
await compareThemeModeSnapshot('profile', 'light');
208207
});

0 commit comments

Comments
 (0)