From 3e82a0b2a1ff402a55541b49e96e4321b1807731 Mon Sep 17 00:00:00 2001 From: Sherry Date: Tue, 4 Jun 2024 10:55:29 +0800 Subject: [PATCH] [lexical-playground] CI: fix flaky headings e2e test (#6245) --- .../__tests__/e2e/Headings/HeadingsEnterAtEnd.spec.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/lexical-playground/__tests__/e2e/Headings/HeadingsEnterAtEnd.spec.mjs b/packages/lexical-playground/__tests__/e2e/Headings/HeadingsEnterAtEnd.spec.mjs index 37239396a8a..edd80f45a47 100644 --- a/packages/lexical-playground/__tests__/e2e/Headings/HeadingsEnterAtEnd.spec.mjs +++ b/packages/lexical-playground/__tests__/e2e/Headings/HeadingsEnterAtEnd.spec.mjs @@ -46,7 +46,7 @@ test(`Headings - stays as a heading when you press enter in the middle of a head await moveToEditorBeginning(page); - await moveRight(page, 5); + await moveRight(page, 5, 500); await page.keyboard.press('Enter');