forked from baron/baron-sso
make drop 초기화 추가. 한맥그룹 기본값 추가
This commit is contained in:
@@ -114,6 +114,26 @@ test.describe("Tenants Management", () => {
|
||||
await expect(page).toHaveURL(/.*\/tenants$/, { timeout: 15000 });
|
||||
});
|
||||
|
||||
test("should clarify organization import creates org tenants and users together", async ({
|
||||
page,
|
||||
}) => {
|
||||
await page.goto("/tenants");
|
||||
await expect(page.locator("h2").last()).toContainText(
|
||||
/테넌트 목록|Tenants/i,
|
||||
{ timeout: 20000 },
|
||||
);
|
||||
|
||||
await page
|
||||
.locator("button")
|
||||
.filter({ hasText: /임포트|Import/i })
|
||||
.first()
|
||||
.click();
|
||||
|
||||
await expect(page.getByRole("dialog")).toContainText(
|
||||
/조직 테넌트.*사용자|organization tenants.*users/i,
|
||||
);
|
||||
});
|
||||
|
||||
test("should show validation error on empty name", async ({ page }) => {
|
||||
await page.goto("/tenants/new");
|
||||
await expect(page.locator("h2").last()).toContainText(/추가|Create/i, {
|
||||
|
||||
Reference in New Issue
Block a user