mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
feat(e2e): test mind map display
This commit is contained in:
parent
54c5ce9257
commit
8dbb5497f1
12
e2e/note_types/mermaid.spec.ts
Normal file
12
e2e/note_types/mermaid.spec.ts
Normal file
@ -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 not shown.
Loading…
x
Reference in New Issue
Block a user