Skip to content

Commit 3694661

Browse files
committed
revert change
1 parent ef82d98 commit 3694661

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/compass-e2e-tests/tests/data-modeling-tab.test.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,10 @@ async function moveNode(
105105

106106
await browser
107107
.action('pointer')
108-
.move({ origin: node, x: nodeSize.width / 2, y: nodeSize.height / 2 })
108+
.move({
109+
x: Math.round(startPosition.x + nodeSize.width / 2),
110+
y: Math.round(startPosition.y + nodeSize.height / 2),
111+
})
109112
.down({ button: 0 }) // Left mouse button
110113
.move({ ...coordinates, duration: 1000, origin: 'pointer' })
111114
.pause(1000)

0 commit comments

Comments
 (0)