1
0
forked from baron/baron-sso

브라우저별 flaky assertion 정리

This commit is contained in:
2026-06-12 20:28:40 +09:00
parent d951bd825f
commit 7bf1aca2f3
2 changed files with 2 additions and 6 deletions

View File

@@ -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();
});