Skip to content

Commit

Permalink
move cursor right
Browse files Browse the repository at this point in the history
  • Loading branch information
potatowagon committed May 28, 2024
1 parent bb9511d commit d384eac
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/lexical-playground/__tests__/e2e/Mentions.spec.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import {
deleteNextWord,
moveLeft,
moveRight,
moveToEditorBeginning,
selectAll,
} from '../keyboardShortcuts/index.mjs';
Expand Down Expand Up @@ -958,6 +959,8 @@ test.describe('Mentions', () => {
'<meta charset="utf-8"><span data-lexical-mention="true">Luke Skywalker</span>',
});

await moveRight(page, 2);

await page.keyboard.type(' foo bar');

await assertHTML(
Expand Down

0 comments on commit d384eac

Please sign in to comment.