Skip to content

Commit b0f588c

Browse files
committed
cleanup
1 parent 65ca87b commit b0f588c

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

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

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -147,16 +147,13 @@ describe('Data Modeling tab', function () {
147147
const startPosition = await testCollection1.getLocation();
148148
const nodeSize = await testCollection1.getSize();
149149

150-
// This should move the node 20px to the right but it just moves it "somewhere else"
151-
// That's the best I could do
152150
await browser
153151
.action('pointer')
154152
.move({
155-
x: Math.round(startPosition.x) + nodeSize.width / 2,
156-
y: Math.round(startPosition.y) + nodeSize.height / 2,
153+
x: Math.round(startPosition.x + nodeSize.width / 2),
154+
y: Math.round(startPosition.y + nodeSize.height / 2),
157155
})
158156
.down({ button: 0 }) // Left mouse button
159-
.pause(1000)
160157
.move({ x: 100, y: 0, duration: 1000, origin: 'pointer' })
161158
.pause(1000)
162159
.move({ x: 100, y: 0, duration: 1000, origin: 'pointer' })

0 commit comments

Comments
 (0)