test(e2e): flaky test

This commit is contained in:
Elian Doran 2025-05-09 23:02:00 +03:00
parent 8684101dcf
commit 382d16ec68
No known key found for this signature in database

View File

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