Skip to content

Commit 6c6959b

Browse files
Fix test using threshold
1 parent a0c63ef commit 6c6959b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,9 @@ module.exports = (env) => {
278278
await page.waitForTimeout(3000);
279279
const image = await takeScreenshot();
280280

281-
compareSnapshot(image, 'create-account');
281+
compareSnapshot(image, 'create-account', {
282+
threshold: 0.05
283+
});
282284
});
283285

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

0 commit comments

Comments
 (0)