From aec65905d902231a45de588f24144bde8e28105b Mon Sep 17 00:00:00 2001 From: kjh2064 Date: Sat, 27 Jun 2026 21:44:48 +0900 Subject: [PATCH] =?UTF-8?q?test:=20=EB=AC=B8=EC=9D=98=20=EC=83=81=EC=84=B8?= =?UTF-8?q?=20e2e=20strict=20=EB=A7=A4=EC=B9=AD=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/e2e/inquiry-detail.spec.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/e2e/inquiry-detail.spec.ts b/tests/e2e/inquiry-detail.spec.ts index 3aac1c8..950c175 100644 --- a/tests/e2e/inquiry-detail.spec.ts +++ b/tests/e2e/inquiry-detail.spec.ts @@ -35,9 +35,9 @@ test.describe('inquiry detail', () => { await navigateInBlazor(page, `${baseUrl}/admin/inquiries/${inquiry.id}`); await expect(page).toHaveURL(/\/taxbaik\/admin\/inquiries\/\d+$/); - await expect(page.getByText(name)).toBeVisible(); - await expect(page.getByText(phone)).toBeVisible(); - await expect(page.getByText(message)).toBeVisible(); + await expect(page.getByText(name, { exact: true }).first()).toBeVisible(); + await expect(page.getByText(phone, { exact: true }).first()).toBeVisible(); + await expect(page.getByText(message, { exact: true }).first()).toBeVisible(); await expect(page.getByRole('button', { name: '신규' })).toBeVisible(); await expect(page.getByRole('button', { name: '연락함' })).toBeVisible(); await expect(page.getByRole('button', { name: '완료' })).toBeVisible();