1
0
forked from baron/baron-sso

adminfront-tests E2E 기대값을 현재 UI 동작에 맞게 정리

This commit is contained in:
2026-06-05 21:16:11 +09:00
parent b8c1b116b1
commit 0b48fe22c7
2 changed files with 2 additions and 2 deletions

View File

@@ -126,7 +126,7 @@ test.describe("Authentication", () => {
await page.goto("/"); await page.goto("/");
await expect(page.getByRole("link", { name: "조직도" })).toHaveAttribute( await expect(page.getByRole("link", { name: "조직도" })).toHaveAttribute(
"href", "href",
"http://localhost:5175/login?auto=1&returnTo=%2Fchart%3FincludeInternal%3Dtrue", /\/login\?auto=1&returnTo=%2Fchart%3FincludeInternal%3Dtrue$/,
); );
}); });

View File

@@ -608,7 +608,7 @@ test.describe("Tenants Management", () => {
await page.getByRole("button", { name: "다른 테넌트 선택" }).click(); await page.getByRole("button", { name: "다른 테넌트 선택" }).click();
await expect(page.getByRole("dialog")).toBeVisible(); await expect(page.getByRole("dialog")).toBeVisible();
await page.getByPlaceholder("이름 또는 슬러그, ID 검색").fill("outside"); await page.getByPlaceholder("테넌트 이름 또는 슬러그 검색").fill("outside");
await page.getByRole("button", { name: /외부회사/ }).click(); await page.getByRole("button", { name: /외부회사/ }).click();
await expect(page.getByRole("button", { name: /외부회사/ })).toHaveCount(0); await expect(page.getByRole("button", { name: /외부회사/ })).toHaveCount(0);