Skip to content

Build your personal knowledge base with Trilium Notes

e2e(server): math popup fails on CI

Elian Doraned972d26015d
diff --git a/apps/server-e2e/src/note_types/text.spec.ts b/apps/server-e2e/src/note_types/text.spec.ts
index 25e45a551f..052745ee25 100644
--- a/apps/server-e2e/src/note_types/text.spec.ts
+++ b/apps/server-e2e/src/note_types/text.spec.ts
@@ -65,6 +65,8 @@ test("Displays math popup", async ({ page, context }) => {
await expect(mathForm).toBeVisible();
const input = mathForm.locator(".ck-input").first();
+ await expect(input).toBeVisible();
+ await expect(input).toBeEnabled();
await input.click();
await input.fill("e=mc^2");
await page.waitForTimeout(100);