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 755712f commit 7a00c08Copy full SHA for 7a00c08
test/webdriverio/test/test_setup.ts
@@ -278,8 +278,9 @@ export async function focusOnWorkspaceComment(
278
return await browser.execute((commentId) => {
279
const workspaceSvg = Blockly.getMainWorkspace() as Blockly.WorkspaceSvg;
280
const comment = workspaceSvg.getCommentById(commentId);
281
- if (!comment)
+ if (!comment) {
282
throw new Error(`No workspace comment found with ID: ${commentId}.`);
283
+ }
284
Blockly.getFocusManager().focusNode(comment);
285
}, commentId);
286
}
0 commit comments