Skip to content

Commit 3a4a651

Browse files
update test
1 parent 6f3fc5c commit 3a4a651

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

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

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

94-
await page.evaluate(() => {
95-
// eslint-disable-next-line no-undef
96-
document.querySelector('.dx-button.theme-button').blur();
97-
98-
});
94+
await page.click('.dx-button.theme-button', { offset: { x: 0, y: -100 } });
95+
await page.waitForTimeout(500);
9996

10097
const image = await takeScreenshot();
10198

0 commit comments

Comments
 (0)