From 382d16ec68c8a76882456cc94310236b002e7602 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Fri, 9 May 2025 23:02:00 +0300 Subject: [PATCH] test(e2e): flaky test --- apps/server-e2e/src/note_types/text.spec.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/server-e2e/src/note_types/text.spec.ts b/apps/server-e2e/src/note_types/text.spec.ts index 328a43d17..c99ad5d7d 100644 --- a/apps/server-e2e/src/note_types/text.spec.ts +++ b/apps/server-e2e/src/note_types/text.spec.ts @@ -55,6 +55,8 @@ test("Displays math popup", async ({ page, context }) => { await app.goto(); await app.goToNoteInNewTab("Empty text"); const noteContent = app.currentNoteSplit.locator(".note-detail-editable-text-editor"); + await expect(noteContent.locator("p")).toBeVisible(); + await noteContent.focus(); await noteContent.fill("Hello world"); await noteContent.press("ControlOrMeta+M");