Skip to content

Build your personal knowledge base with Trilium Notes

chore(e2e): use ControlOrMeta instead of Control

Elian Doranb4ff765c5e3d
diff --git a/e2e/note_types/text.spec.ts b/e2e/note_types/text.spec.ts
index af42d98982..542eb4e333 100644
--- a/e2e/note_types/text.spec.ts
+++ b/e2e/note_types/text.spec.ts
@@ -56,7 +56,7 @@ test("Displays math popup", async ({ page, context }) => {
await app.goToNoteInNewTab("Empty text");
const noteContent = app.currentNoteSplit.locator(".note-detail-editable-text-editor")
await noteContent.fill("Hello world");
- await noteContent.press("Control+M");
+ await noteContent.press("ControlOrMeta+M");
const mathForm = page.locator(".ck-math-form");
await expect(mathForm).toBeVisible();