Skip to content

Commit 42f3ab4

Browse files
author
marker dao ®
committed
fix(runners): Set offset 1
1 parent 6ccfd02 commit 42f3ab4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apps/demos/utils/visual-tests/testcafe-runner.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ async function main() {
114114
window.getSelection()?.removeAllRanges();
115115
}).with({ boundTestRun: t })();
116116

117-
await t.hover('html', { offsetX: -9999, offsetY: -9999 });
117+
await t.hover('html', { offsetX: 1, offsetY: 1 });
118118
},
119119
},
120120
},

e2e/testcafe-devextreme/runner.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ async function main() {
272272
window.getSelection()?.removeAllRanges();
273273
}).with({ boundTestRun: t })();
274274

275-
await t.hover('html', { offsetX: -9999, offsetY: -9999 });
275+
await t.hover('html', { offsetX: 1, offsetY: 1 });
276276

277277
const [width, height] = meta?.browserSize || DEFAULT_BROWSER_SIZE;
278278
await t.resizeWindow(width, height);

0 commit comments

Comments
 (0)