Skip to content

Commit 5be428d

Browse files
chore: add CSS registration call in webdriver tests
1 parent 00d6bca commit 5be428d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/webdriverio/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ function createWorkspace(): Blockly.WorkspaceSvg {
7878
if (!blocklyDiv) {
7979
throw new Error('Missing blocklyDiv');
8080
}
81+
// Must be called before injection.
82+
KeyboardNavigation.registerKeyboardNavigationStyles();
8183
const workspace = Blockly.inject(blocklyDiv, injectOptions);
8284

8385
new KeyboardNavigation(workspace);

0 commit comments

Comments
 (0)