Skip to content

Commit ff23872

Browse files
committed
test: added wait to make sure styles are loaded
1 parent d4999d5 commit ff23872

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +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');
194195
await compareThemeModeSnapshot('profile', 'dark');
195196
await switchTheme();
196197
// test

0 commit comments

Comments
 (0)