mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 10:02:59 +08:00
chore(e2e): use ControlOrMeta instead of Control
This commit is contained in:
parent
423bea923c
commit
b4ff765c5e
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user