Skip to content

Add examples for all diagrams #2098

Add examples for all diagrams

Add examples for all diagrams #2098

Triggered via pull request July 16, 2025 14:30
Status Failure
Total duration 3m 33s
Artifacts 1

tests.yml

on: pull_request
Playwright Tests
3m 29s
Playwright Tests
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 notice
[chromium] › tests/docMap.spec.ts:12:3 › Editor docs tests › Test to see if the correct URL loads when changing from one diagram to other: tests/test.ts#L61
2) [chromium] › tests/docMap.spec.ts:12:3 › Editor docs tests › Test to see if the correct URL loads when changing from one diagram to other Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for getByText('Flow', { exact: true }) at test.ts:61 59 | 60 | async loadSampleDiagram(diagramName: string) { > 61 | await this.page.getByText(diagramName, { exact: true }).click(); | ^ 62 | } 63 | 64 | async checkTextInView(text: string) { at EditorPage.loadSampleDiagram (/__w/mermaid-live-editor/mermaid-live-editor/tests/test.ts:61:61) at /__w/mermaid-live-editor/mermaid-live-editor/tests/docMap.spec.ts:15:20
[chromium] › tests/docMap.spec.ts:12:3 › Editor docs tests › Test to see if the correct URL loads when changing from one diagram to other: tests/docMap.spec.ts#L0
2) [chromium] › tests/docMap.spec.ts:12:3 › Editor docs tests › Test to see if the correct URL loads when changing from one diagram to other Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
[chromium] › tests/docMap.spec.ts:12:3 › Editor docs tests › Test to see if the correct URL loads when changing from one diagram to other: tests/test.ts#L61
2) [chromium] › tests/docMap.spec.ts:12:3 › Editor docs tests › Test to see if the correct URL loads when changing from one diagram to other Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for getByText('Flow', { exact: true }) at test.ts:61 59 | 60 | async loadSampleDiagram(diagramName: string) { > 61 | await this.page.getByText(diagramName, { exact: true }).click(); | ^ 62 | } 63 | 64 | async checkTextInView(text: string) { at EditorPage.loadSampleDiagram (/__w/mermaid-live-editor/mermaid-live-editor/tests/test.ts:61:61) at /__w/mermaid-live-editor/mermaid-live-editor/tests/docMap.spec.ts:15:20
[chromium] › tests/docMap.spec.ts:12:3 › Editor docs tests › Test to see if the correct URL loads when changing from one diagram to other: tests/docMap.spec.ts#L0
2) [chromium] › tests/docMap.spec.ts:12:3 › Editor docs tests › Test to see if the correct URL loads when changing from one diagram to other Test timeout of 30000ms exceeded.
[chromium] › tests/actions.spec.ts:23:3 › Check actions › should download png and svg: tests/test.ts#L61
1) [chromium] › tests/actions.spec.ts:23:3 › Check actions › should download png and svg ───────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for getByText('ER', { exact: true }) at test.ts:61 59 | 60 | async loadSampleDiagram(diagramName: string) { > 61 | await this.page.getByText(diagramName, { exact: true }).click(); | ^ 62 | } 63 | 64 | async checkTextInView(text: string) { at EditorPage.loadSampleDiagram (/__w/mermaid-live-editor/mermaid-live-editor/tests/test.ts:61:61) at /__w/mermaid-live-editor/mermaid-live-editor/tests/actions.spec.ts:29:20
[chromium] › tests/actions.spec.ts:23:3 › Check actions › should download png and svg: tests/actions.spec.ts#L0
1) [chromium] › tests/actions.spec.ts:23:3 › Check actions › should download png and svg ───────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
[chromium] › tests/actions.spec.ts:23:3 › Check actions › should download png and svg: tests/test.ts#L61
1) [chromium] › tests/actions.spec.ts:23:3 › Check actions › should download png and svg ───────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for getByText('ER', { exact: true }) at test.ts:61 59 | 60 | async loadSampleDiagram(diagramName: string) { > 61 | await this.page.getByText(diagramName, { exact: true }).click(); | ^ 62 | } 63 | 64 | async checkTextInView(text: string) { at EditorPage.loadSampleDiagram (/__w/mermaid-live-editor/mermaid-live-editor/tests/test.ts:61:61) at /__w/mermaid-live-editor/mermaid-live-editor/tests/actions.spec.ts:29:20
[chromium] › tests/actions.spec.ts:23:3 › Check actions › should download png and svg: tests/actions.spec.ts#L0
1) [chromium] › tests/actions.spec.ts:23:3 › Check actions › should download png and svg ───────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
[chromium] › tests/actions.spec.ts:23:3 › Check actions › should download png and svg: tests/test.ts#L61
1) [chromium] › tests/actions.spec.ts:23:3 › Check actions › should download png and svg ───────── Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for getByText('ER', { exact: true }) at test.ts:61 59 | 60 | async loadSampleDiagram(diagramName: string) { > 61 | await this.page.getByText(diagramName, { exact: true }).click(); | ^ 62 | } 63 | 64 | async checkTextInView(text: string) { at EditorPage.loadSampleDiagram (/__w/mermaid-live-editor/mermaid-live-editor/tests/test.ts:61:61) at /__w/mermaid-live-editor/mermaid-live-editor/tests/actions.spec.ts:29:20
[chromium] › tests/actions.spec.ts:23:3 › Check actions › should download png and svg: tests/actions.spec.ts#L0
1) [chromium] › tests/actions.spec.ts:23:3 › Check actions › should download png and svg ───────── Test timeout of 30000ms exceeded.
🎭 Playwright Run Summary
2 failed [chromium] › tests/actions.spec.ts:23:3 › Check actions › should download png and svg ────────── [chromium] › tests/docMap.spec.ts:12:3 › Editor docs tests › Test to see if the correct URL loads when changing from one diagram to other 7 skipped 20 passed (1.9m)

Artifacts

Produced during runtime
Name Size Digest
test-results Expired
32.5 MB
sha256:6a7e3169396d6c76e622aab7d44f67b54b93d529690bba08bc3c77821fc383ea