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