Skip to content

Commit 4f154c4

Browse files
fix test
1 parent 4df57d3 commit 4f154c4

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
@@ -280,11 +280,13 @@ module.exports = (env, { port = 8080, urls = {} } = {}) => {
280280
await page.waitForSelector('.create-account-form');
281281

282282
await hideScroll();
283-
await page.mouse.move(0, 0);
284283
await page.waitForTimeout(3000);
285284
const image = await takeScreenshot();
286285

287-
compareSnapshot(image, 'create-account');
286+
compareSnapshot(image, 'create-account', {
287+
failureThreshold: 1,
288+
failureThresholdType: 'pixel',
289+
});
288290
});
289291

290292
it('Reset password page', async() => {

0 commit comments

Comments
 (0)