Skip to content

Commit dad349c

Browse files
committed
Fix move simple statement down test.
1 parent 961529d commit dad349c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

test/webdriverio/test/move_test.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -563,8 +563,7 @@ suite(`Statement expression unconstrained move tests`, function () {
563563
const EXPECTED_STATEMENT_SIMPLE_DOWN = [
564564
{id: 'text_print', index: 0, ownIndex: 1}, // Above print block
565565
{id: 'text_print', index: 1, ownIndex: 0}, // Below print block
566-
{id: 'controls_repeat_ext', index: 1, ownIndex: 0}, // Below repeat block
567-
{id: 'controls_if', index: 6, ownIndex: 0}, // In else condition
566+
{id: 'controls_if', index: 1, ownIndex: 0}, // Below if-else block
568567
];
569568

570569
/**
@@ -666,7 +665,7 @@ suite(`Statement expression unconstrained move tests`, function () {
666665
await moveBlock(
667666
this.browser,
668667
STATEMENT_SIMPLE.id,
669-
(await getCoordinate(this.browser, 'text_print')).x + 25,
668+
(await getCoordinate(this.browser, 'text_print')).x + 15,
670669
(await getCoordinate(this.browser, 'text_print')).y - 60,
671670
);
672671
await moveBlockAndAssertCandidateOrder(

0 commit comments

Comments
 (0)