diff --git a/packages/lexical-playground/__tests__/e2e/Mentions.spec.mjs b/packages/lexical-playground/__tests__/e2e/Mentions.spec.mjs index 3d0e716644f..df17e847f7c 100644 --- a/packages/lexical-playground/__tests__/e2e/Mentions.spec.mjs +++ b/packages/lexical-playground/__tests__/e2e/Mentions.spec.mjs @@ -6,12 +6,11 @@ * */ -import {$selectAll} from 'lexical'; - import { deleteNextWord, moveLeft, moveToEditorBeginning, + selectAll, } from '../keyboardShortcuts/index.mjs'; import { assertHTML, @@ -952,7 +951,7 @@ test.describe('Mentions', () => { await waitForSelector(page, '.mention'); - $selectAll(); + await selectAll(page); await pasteFromClipboard(page, { 'text/html':