forked from baron/baron-sso
orgfront refresh token 관리 추가
This commit is contained in:
@@ -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();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user