Skip to content

Commit ab920dd

Browse files
committed
fix: add class to move indicator bubble
1 parent 95cdb69 commit ab920dd

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/move_indicator.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ export class MoveIndicatorBubble
3838
{},
3939
workspace.getBubbleCanvas(),
4040
);
41+
this.svgRoot.classList.add('blocklyMoveIndicatorBubble');
4142
const rtl = workspace.RTL;
4243
Blockly.utils.dom.createSvgElement(
4344
Blockly.utils.Svg.CIRCLE,

test/webdriverio/test/move_test.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,10 @@ suite('Move start tests', function () {
137137
await keyDown(this.browser, index);
138138
await sendKeyAndWait(this.browser, Key.Return);
139139

140+
// Wait for the move icon to appear so we know we're in move mode.
141+
const bubble = this.browser.$('.blocklyMoveIndicatorBubble');
142+
await bubble.waitForExist();
143+
140144
// Check that the moving block has nothing connected it its
141145
// next/previous connections, and same thing connected to value
142146
// input.

0 commit comments

Comments
 (0)