We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfe5ea6 commit 7e2035eCopy full SHA for 7e2035e
test/webdriverio/test/scroll_test.ts
@@ -84,6 +84,11 @@ suite('Scrolling into view', function () {
84
return Blockly.getFocusManager().getFocusedNode()?.getFocusableElement()?.id;
85
});
86
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);
92
93
// Assert new block has been scrolled into the viewport.
94
await this.browser.pause(PAUSE_TIME);
0 commit comments