Skip to content

Commit e9ee83c

Browse files
committed
Fix shadow block action test in github action.
1 parent baee47d commit e9ee83c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/webdriverio/test/actions_test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import {
2323
} from './test_setup.js';
2424

2525
const isDarwin = process.platform === 'darwin';
26+
2627
const blockActionsViaKeyboard = [
2728
{'text': 'Duplicate D'},
2829
{'text': 'Add Comment'},
@@ -123,7 +124,8 @@ suite('Menus test', function () {
123124

124125
test('Shadow block menu via keyboard displays expected items', async function () {
125126
await tabNavigateToWorkspace(this.browser);
126-
await focusOnBlock(this.browser, 'draw_circle_1_color');
127+
await focusOnBlock(this.browser, 'draw_circle_1');
128+
await this.browser.keys(Key.ArrowRight);
127129
await this.browser.keys([Key.Ctrl, Key.Return]);
128130
await this.browser.pause(PAUSE_TIME);
129131

0 commit comments

Comments
 (0)