feat(e2e): test mind map display

This commit is contained in:
Elian Doran 2025-01-12 19:34:35 +02:00
parent 54c5ce9257
commit 8dbb5497f1
No known key found for this signature in database
2 changed files with 12 additions and 0 deletions

View 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.