Skip to content

Commit 01a38eb

Browse files
fix test
1 parent 055a1ce commit 01a38eb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,10 @@ module.exports = (env) => {
9191
await page.click('.dx-button.theme-button');
9292
await page.waitForTimeout(500);
9393

94-
// eslint-disable-next-line no-undef
95-
document.querySelector('.dx-button.theme-button').blur();
94+
await page.evaluate(() => {
95+
// eslint-disable-next-line no-undef
96+
document.querySelector('.dx-button.theme-button').blur();
97+
});
9698

9799
const image = await takeScreenshot();
98100

0 commit comments

Comments
 (0)