Skip to content

Commit 4b97659

Browse files
committed
chore: Remove debug logs to test theory.
1 parent dabaad5 commit 4b97659

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

test/webdriverio/test/scroll_test.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,11 @@ suite('Scrolling into view', function () {
5151
await sendKeyAndWait(this.browser, [Key.Alt, Key.ArrowDown], 25);
5252
await sendKeyAndWait(this.browser, Key.Enter);
5353
// Scroll back up, leaving cursor on the draw block out of the viewport.
54-
const scrollPosition1 = await this.browser.execute(() => {
55-
const workspace = Blockly.getMainWorkspace() as Blockly.WorkspaceSvg;
56-
return [workspace.scrollX, workspace.scrollY];
57-
});
58-
console.log("workspace scroll position before scroll:", scrollPosition1);
54+
// const scrollPosition1 = await this.browser.execute(() => {
55+
// const workspace = Blockly.getMainWorkspace() as Blockly.WorkspaceSvg;
56+
// return [workspace.scrollX, workspace.scrollY];
57+
// });
58+
// console.log("workspace scroll position before scroll:", scrollPosition1);
5959
await this.browser.execute(() => {
6060
const workspace = Blockly.getMainWorkspace() as Blockly.WorkspaceSvg;
6161
workspace.scrollBoundsIntoView(
@@ -64,11 +64,11 @@ suite('Scrolling into view', function () {
6464
).getBoundingRectangleWithoutChildren(),
6565
);
6666
});
67-
const scrollPosition2 = await this.browser.execute(() => {
68-
const workspace = Blockly.getMainWorkspace() as Blockly.WorkspaceSvg;
69-
return [workspace.scrollX, workspace.scrollY];
70-
});
71-
console.log("workspace scroll position after scroll:", scrollPosition2);
67+
// const scrollPosition2 = await this.browser.execute(() => {
68+
// const workspace = Blockly.getMainWorkspace() as Blockly.WorkspaceSvg;
69+
// return [workspace.scrollX, workspace.scrollY];
70+
// });
71+
// console.log("workspace scroll position after scroll:", scrollPosition2);
7272

7373
// Insert and confirm the test block which should be scrolled into view.
7474
await sendKeyAndWait(this.browser, 't');

0 commit comments

Comments
 (0)