diff --git a/packages/lexical-playground/__tests__/e2e/Headings/HeadingsTransformToHeadings.spec.mjs b/packages/lexical-playground/__tests__/e2e/Headings/HeadingsTransformToHeadings.spec.mjs index 6d41ae4524f1..d81339092e41 100644 --- a/packages/lexical-playground/__tests__/e2e/Headings/HeadingsTransformToHeadings.spec.mjs +++ b/packages/lexical-playground/__tests__/e2e/Headings/HeadingsTransformToHeadings.spec.mjs @@ -37,9 +37,9 @@ test('Headings - can transform to Headings when it has text', async ({ `, ); - for (const level of [1, 2, 3, 4, 5, 6, 1]) { - await moveToEditorBeginning(page); + await moveToEditorBeginning(page); + for (const level of [1, 2, 3, 4, 5, 6, 1]) { await page.keyboard.type(`${'#'.repeat(level)} `); await assertHTML(