Skip to content

Commit 6ee17d7

Browse files
committed
chore: Add another log statement.
1 parent f504532 commit 6ee17d7

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

test/webdriverio/test/scroll_test.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,13 @@ suite('Scrolling into view', function () {
197197
return viewport;
198198
});
199199
console.log("viewport:", viewport);
200+
const matchedBlocks = await this.browser.execute(() => {
201+
const workspace = Blockly.getMainWorkspace() as Blockly.WorkspaceSvg;
202+
return workspace.getBlocksByType(
203+
'controls_if',
204+
).map((block) => { (block as Blockly.BlockSvg).id });
205+
});
206+
console.log('matched blocks to controls_if:', matchedBlocks);
200207
const inViewport = await this.browser.execute(() => {
201208
const workspace = Blockly.getMainWorkspace() as Blockly.WorkspaceSvg;
202209
const block = workspace.getBlocksByType(

0 commit comments

Comments
 (0)