test(e2e): flaky test

pull/1847/head
Elian Doran 2025-05-09 23:02:00 +07:00
parent 8684101dcf
commit 382d16ec68
No known key found for this signature in database
1 changed files with 2 additions and 0 deletions

@ -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");