Ensure no subtitle elements in viewport panels during quad layout test

This commit is contained in:
2026-04-02 23:06:59 +02:00
parent d191a61b15
commit 1ad076a73a

View File

@@ -45,6 +45,7 @@ test("quad viewport layout shows four linked panels with shared selection and ac
await expect(page.getByTestId("viewport-panel-bottomRight-display-authoring")).toHaveAttribute("aria-pressed", "true");
for (const panelId of ["topLeft", "topRight", "bottomLeft", "bottomRight"] as const) {
await expect(getViewportPanel(page, panelId).locator(".viewport-panel__subtitle")).toHaveCount(0);
await expect(getViewportPanel(page, panelId).locator(".viewport-canvas__overlay-text")).toHaveCount(0);
}