diff --git a/devfront/tests/devfront-audit.spec.ts b/devfront/tests/devfront-audit.spec.ts index 9158fa4e..fdef7488 100644 --- a/devfront/tests/devfront-audit.spec.ts +++ b/devfront/tests/devfront-audit.spec.ts @@ -72,13 +72,10 @@ test.describe("DevFront audit logs", () => { await page.goto("/audit-logs"); await expect(page.getByText("UPDATE_CLIENT")).toBeVisible(); + const filterInputs = page.locator("form input"); - await page - .getByPlaceholder(/Client ID로 필터|Filter by Client ID/i) - .fill("client-audit"); - await page - .getByPlaceholder(/액션으로 필터|Filter by Action/i) - .fill("ROTATE_SECRET"); + await filterInputs.nth(0).fill("client-audit"); + await filterInputs.nth(1).fill("ROTATE_SECRET"); await page.getByRole("button", { name: /더 보기|Load more/i }).click(); await expect(page.getByText("ROTATE_SECRET")).toBeVisible();