Skip to content

Commit ddeb2a7

Browse files
committed
refactor: Use arrow wrapper functions in test.
1 parent 1a79c16 commit ddeb2a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/webdriverio/test/workspace_comment_test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,8 @@ suite('Workspace comment navigation', function () {
211211
chai.assert.deepEqual(initialPosition, [200, 200]);
212212

213213
await sendKeyAndWait(this.browser, 'm');
214-
await sendKeyAndWait(this.browser, Key.ArrowUp, 2);
215-
await sendKeyAndWait(this.browser, Key.ArrowLeft);
214+
await keyUp(this.browser, 2);
215+
await keyLeft(this.browser);
216216
await sendKeyAndWait(this.browser, Key.Enter);
217217

218218
const newPosition = await this.getCommentLocation(this.commentId1);

0 commit comments

Comments
 (0)