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 f504532 commit 6ee17d7Copy full SHA for 6ee17d7
test/webdriverio/test/scroll_test.ts
@@ -197,6 +197,13 @@ suite('Scrolling into view', function () {
197
return viewport;
198
});
199
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);
207
const inViewport = await this.browser.execute(() => {
208
const workspace = Blockly.getMainWorkspace() as Blockly.WorkspaceSvg;
209
const block = workspace.getBlocksByType(
0 commit comments