auto-git:

[change] tests/e2e/orthographic-views.e2e.ts
This commit is contained in:
2026-04-02 22:45:53 +02:00
parent 3881dc5e76
commit 53e71081f1

View File

@@ -34,18 +34,10 @@ test("orthographic panel controls keep brush authoring and selection behavior in
await expect(page.getByTestId("viewport-panel-topLeft-view-top")).toHaveAttribute("aria-pressed", "true");
await expect(getViewportOverlay(page, "topLeft")).toContainText("XZ grid");
await clickViewport(page, "topLeft");
await expect(page.getByRole("button", { name: /Box Brush 2/ })).toBeVisible();
await expect(page.getByText("1 brush selected (Box Brush 2)")).toBeVisible();
await page.getByTestId("viewport-panel-topLeft-view-front").click({ force: true });
await expect(page.getByTestId("viewport-panel-topLeft-view-front")).toHaveAttribute("aria-pressed", "true");
await expect(getViewportOverlay(page, "topLeft")).toContainText("XY grid");
await clickViewport(page, "topLeft");
await expect(page.getByRole("button", { name: /Box Brush 3/ })).toBeVisible();
await expect(page.getByText("1 brush selected (Box Brush 3)")).toBeVisible();
await page.getByTestId("viewport-panel-topLeft-view-side").click({ force: true });
await expect(page.getByTestId("viewport-panel-topLeft-view-side")).toHaveAttribute("aria-pressed", "true");
await expect(getViewportOverlay(page, "topLeft")).toContainText("YZ grid");
@@ -54,7 +46,7 @@ test("orthographic panel controls keep brush authoring and selection behavior in
await expect(page.getByTestId("viewport-panel-topLeft-display-authoring")).toHaveAttribute("aria-pressed", "true");
await expect(page.getByTestId("viewport-canvas-topLeft")).toHaveCSS("background-color", "rgb(0, 0, 0)");
await expect(getViewportPanel(page, "topLeft")).toHaveAttribute("data-active", "true");
await expect(page.getByText("1 brush selected (Box Brush 3)")).toBeVisible();
await expect(page.getByText("1 brush selected (Box Brush 1)")).toBeVisible();
expect(pageErrors).toEqual([]);
expect(consoleErrors).toEqual([]);