feat(e2e): check ELK flowchart

This commit is contained in:
Elian Doran 2025-01-17 19:09:19 +02:00
parent a1b660cfcd
commit 751adf474f
No known key found for this signature in database
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,27 @@
import { test, expect, Page } from "@playwright/test";
import App from "../support/app";
test("renders ELK flowchart", async ({ page, context }) => {
const app = new App(page, context);
await app.goto();
await app.goToNoteInNewTab("Flowchart ELK on");
const svgData = app.currentNoteSplit.locator(".mermaid-render svg");
await expect(svgData).toMatchAriaSnapshot(`
- document:
- paragraph: A
- paragraph: B
- paragraph: C
- paragraph: Guarantee
- paragraph: User attributes
- paragraph: Master data
- paragraph: Exchange Rate
- paragraph: Profit Centers
- paragraph: Vendor Partners
- paragraph: Work Situation
- paragraph: Customer
- paragraph: Profit Centers
- paragraph: Guarantee
- text: Interfaces for B
`);
});

Binary file not shown.