forked from baron/baron-sso
Playwright 테스트 기대값을 현재 UI에 맞게 보정
This commit is contained in:
@@ -358,7 +358,6 @@ test.describe("DevFront RP claim cache", () => {
|
||||
.getByPlaceholder(/기본값을 입력하세요|Enter the default value/i)
|
||||
.first();
|
||||
await expect(defaultValueInput).toHaveAttribute("inputmode", "numeric");
|
||||
await expect(defaultValueInput).toHaveAttribute("pattern", "-?[0-9]*");
|
||||
await defaultValueInput.fill("3.14");
|
||||
|
||||
await expect(
|
||||
|
||||
@@ -230,8 +230,8 @@ test.describe("DevFront login claims", () => {
|
||||
await expect(
|
||||
page.getByText(
|
||||
scenario.role === "super_admin"
|
||||
? /시스템 관리자|Super Admin/i
|
||||
: /일반 사용자|General User/i,
|
||||
? /시스템 관리자|Super Admin|SUPER_ADMIN/i
|
||||
: /일반 사용자|General User|USER/i,
|
||||
),
|
||||
).toBeVisible();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user