Skip to content

Commit

Permalink
feat(e2e): test mind map display
Browse files Browse the repository at this point in the history
  • Loading branch information
eliandoran committed Jan 12, 2025
1 parent 54c5ce9 commit 8dbb549
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions e2e/note_types/mermaid.spec.ts
Original file line number Diff line number Diff line change
@@ -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");
});
Binary file modified integration-tests/db/document.db
Binary file not shown.

0 comments on commit 8dbb549

Please sign in to comment.