forked from baron/baron-sso
adminfront-tests 검색 placeholder 기대값을 현재 UI 문구에 맞게 수정
This commit is contained in:
@@ -602,11 +602,11 @@ test.describe("User Management", () => {
|
||||
await expect(page.getByText("Load User 0")).toBeVisible();
|
||||
const initialMs = performance.now() - initialStartedAt;
|
||||
|
||||
const searchInput = page.getByPlaceholder("이름 또는 이메일 검색...");
|
||||
const searchInput = page.getByPlaceholder("이름 또는 이메일 검색");
|
||||
await searchInput.fill("Load User 19999");
|
||||
const searchMs = await page.evaluate(async () => {
|
||||
const input = Array.from(document.querySelectorAll("input")).find(
|
||||
(candidate) => candidate.placeholder === "이름 또는 이메일 검색...",
|
||||
(candidate) => candidate.placeholder === "이름 또는 이메일 검색",
|
||||
);
|
||||
|
||||
if (!input) {
|
||||
|
||||
Reference in New Issue
Block a user