Skip to content

Commit 7e2035e

Browse files
committed
chore: More logs.
1 parent bfe5ea6 commit 7e2035e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/webdriverio/test/scroll_test.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,11 @@ suite('Scrolling into view', function () {
8484
return Blockly.getFocusManager().getFocusedNode()?.getFocusableElement()?.id;
8585
});
8686
console.log("current focused node after insert:", focusedNodeId2);
87+
const scrollPosition3 = await this.browser.execute(() => {
88+
const workspace = Blockly.getMainWorkspace() as Blockly.WorkspaceSvg;
89+
return [workspace.scrollX, workspace.scrollY];
90+
});
91+
console.log("workspace scroll position after insert:", scrollPosition3);
8792

8893
// Assert new block has been scrolled into the viewport.
8994
await this.browser.pause(PAUSE_TIME);

0 commit comments

Comments
 (0)