From 6a6730b54458aef8f7f6124163233a0ad59f0351 Mon Sep 17 00:00:00 2001 From: Lectom Date: Fri, 29 May 2026 08:45:39 +0900 Subject: [PATCH] test(orgfront): align dense member column fixture --- orgfront/tests/orgchart-pan-zoom.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/orgfront/tests/orgchart-pan-zoom.spec.ts b/orgfront/tests/orgchart-pan-zoom.spec.ts index fcd75fcd..18087b2b 100644 --- a/orgfront/tests/orgchart-pan-zoom.spec.ts +++ b/orgfront/tests/orgchart-pan-zoom.spec.ts @@ -233,7 +233,7 @@ test("org chart non-shared title does not render the MH Dashboard eyebrow", asyn test("org chart renders dense member nodes with calculated member columns", async ({ page, }) => { - const denseUsers = Array.from({ length: 6 }, (_, index) => + const denseUsers = Array.from({ length: 10 }, (_, index) => user(`u-dense-${index + 1}`, `Dense User ${index + 1}`, "baron"), ); @@ -254,7 +254,7 @@ test("org chart renders dense member nodes with calculated member columns", asyn const rootNode = page.locator('[data-testid="orgchart-node-root"]'); await expect(rootNode).toHaveAttribute("width", /[4-9]\d{2,}/); await expect(rootNode.locator('[data-member-columns="2"]')).toBeVisible(); - await expect(rootNode.getByText("Dense User 6")).toBeVisible(); + await expect(rootNode.getByText("Dense User 10")).toBeVisible(); }); test("public org chart hides internal and private tenants and renders org unit type", async ({