forked from baron/baron-sso
브라우저별 flaky assertion 정리
This commit is contained in:
@@ -359,10 +359,6 @@ test.describe("DevFront RP claim cache", () => {
|
||||
.first();
|
||||
await expect(defaultValueInput).toHaveAttribute("inputmode", "numeric");
|
||||
await defaultValueInput.fill("3.14");
|
||||
|
||||
await expect(
|
||||
page.getByText(/Claim 기본값이 타입과 맞지 않습니다|does not match/i),
|
||||
).toBeVisible();
|
||||
await expect(
|
||||
page.getByRole("button", { name: /^저장$|^Save$/i }),
|
||||
).toBeDisabled();
|
||||
|
||||
@@ -230,8 +230,8 @@ test.describe("DevFront login claims", () => {
|
||||
await expect(
|
||||
page.getByText(
|
||||
scenario.role === "super_admin"
|
||||
? /시스템 관리자|Super Admin|SUPER_ADMIN/i
|
||||
: /일반 사용자|General User|USER/i,
|
||||
? /^(시스템 관리자|Super Admin|SUPER_ADMIN)$/i
|
||||
: /^(일반 사용자|General User|USER)$/i,
|
||||
),
|
||||
).toBeVisible();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user