diff --git a/e2e/note_types/mermaid.spec.ts b/e2e/note_types/mermaid.spec.ts new file mode 100644 index 000000000..0ead19df8 --- /dev/null +++ b/e2e/note_types/mermaid.spec.ts @@ -0,0 +1,12 @@ +import { test, expect, Page } from "@playwright/test"; +import App from "../support/app"; + +test("Displays simple map", async ({ page, context }) => { + const app = new App(page, context); + await app.goto(); + await app.goToNoteInNewTab("Sample mindmap"); + + expect(app.currentNoteSplit).toContainText("Hello world"); + expect(app.currentNoteSplit).toContainText("1"); + expect(app.currentNoteSplit).toContainText("1a"); +}); diff --git a/integration-tests/db/document.db b/integration-tests/db/document.db index a4a44162f..578b95cd7 100644 Binary files a/integration-tests/db/document.db and b/integration-tests/db/document.db differ