1
0
forked from baron/baron-sso

orgfront refresh token 관리 추가

This commit is contained in:
2026-06-18 08:00:57 +09:00
parent 5f3167a503
commit 33249eb229
32 changed files with 867 additions and 337 deletions

View File

@@ -43,6 +43,9 @@ function user(id: string, name: string, companyCode: string) {
status: "active",
companyCode,
grade: "사원",
metadata: {
additionalAppointments: [{ tenantSlug: companyCode }],
},
createdAt: "2026-04-01T00:00:00.000Z",
updatedAt: "2026-04-01T00:00:00.000Z",
};
@@ -338,7 +341,8 @@ test("org chart renders dense member nodes with calculated member columns", asyn
await expect(page.getByRole("heading", { name: "조직 현황" })).toBeVisible();
const rootNode = page.locator('[data-testid="orgchart-node-root"]');
await expect(rootNode).toHaveAttribute("width", /3\d{2}/);
await expect(rootNode).toHaveAttribute("width", /\d+/);
expect(Number(await rootNode.getAttribute("width"))).toBeGreaterThan(240);
await expect(rootNode.locator('[data-member-columns="2"]')).toBeVisible();
await expect(rootNode.getByText("Dense User 10")).toBeVisible();
});