forked from baron/baron-sso
code-check 오류 수정
This commit is contained in:
@@ -56,6 +56,16 @@ import {
|
||||
} from "./orgChartPicker";
|
||||
import type { UserSchemaField } from "./userSchemaFields";
|
||||
|
||||
type UserSchemaField = {
|
||||
key: string;
|
||||
label?: string;
|
||||
type?: "text" | "number" | "boolean" | "date";
|
||||
required?: boolean;
|
||||
adminOnly?: boolean;
|
||||
validation?: string;
|
||||
isLoginId?: boolean;
|
||||
};
|
||||
|
||||
type UserFormValues = UserCreateRequest & { metadata: Record<string, unknown> };
|
||||
type UserType = "hanmac" | "external" | "personal";
|
||||
|
||||
|
||||
@@ -79,6 +79,16 @@ import {
|
||||
} from "./orgChartPicker";
|
||||
import type { UserSchemaField } from "./userSchemaFields";
|
||||
|
||||
type UserSchemaField = {
|
||||
key: string;
|
||||
label?: string;
|
||||
type?: "text" | "number" | "boolean" | "date";
|
||||
required?: boolean;
|
||||
adminOnly?: boolean;
|
||||
validation?: string;
|
||||
isLoginId?: boolean;
|
||||
};
|
||||
|
||||
type UserFormValues = Omit<UserUpdateRequest, "metadata"> & {
|
||||
metadata: Record<string, Record<string, string | number | boolean>>;
|
||||
};
|
||||
|
||||
@@ -119,6 +119,7 @@ test.describe("Tenants Management", () => {
|
||||
|
||||
test("should export and import tenant CSV without organization/user combined import", async ({
|
||||
page,
|
||||
browserName,
|
||||
}, testInfo) => {
|
||||
let exportRequested = false;
|
||||
let exportUrl = "";
|
||||
@@ -213,9 +214,12 @@ test.describe("Tenants Management", () => {
|
||||
/갱신 1|Updated 1/i,
|
||||
);
|
||||
expect(importRequested).toBe(true);
|
||||
if (testInfo.project.name !== "webkit") {
|
||||
expect(importBody).toContain('filename="tenants.csv"');
|
||||
if (browserName !== "webkit") {
|
||||
if (testInfo.project.name !== "webkit") {
|
||||
expect(importBody).toContain("tenant-alpha-id");
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
test("should resolve tenant CSV conflicts by choosing create and remapping parent ids", async ({
|
||||
|
||||
Reference in New Issue
Block a user