Skip to content

Build your personal knowledge base with Trilium Notes

e2e(server): fix broken e2e test after MathTex integration

Elian Doran7fcd93a61b22
diff --git a/apps/server-e2e/src/note_types/text.spec.ts b/apps/server-e2e/src/note_types/text.spec.ts
index 052745ee25..d283ed419f 100644
--- a/apps/server-e2e/src/note_types/text.spec.ts
+++ b/apps/server-e2e/src/note_types/text.spec.ts
@@ -64,7 +64,7 @@ test("Displays math popup", async ({ page, context }) => {
const mathForm = page.locator(".ck-math-form");
await expect(mathForm).toBeVisible();
- const input = mathForm.locator(".ck-input").first();
+ const input = mathForm.locator(".ck-latex-textarea").first();
await expect(input).toBeVisible();
await expect(input).toBeEnabled();
await input.click();