From 16f7c6097c9f9713794bde0b6326cdb62daa761d Mon Sep 17 00:00:00 2001 From: kjh2064 Date: Sun, 28 Jun 2026 19:38:17 +0900 Subject: [PATCH] test(e2e): disambiguate dashboard heading --- tests/e2e/helpers/admin-auth.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/e2e/helpers/admin-auth.ts b/tests/e2e/helpers/admin-auth.ts index fa50e61..79e22fd 100644 --- a/tests/e2e/helpers/admin-auth.ts +++ b/tests/e2e/helpers/admin-auth.ts @@ -38,7 +38,7 @@ export async function loginThroughAdminUi( await page.locator('input[placeholder="비밀번호"]').fill(password); await page.getByRole('button', { name: '로그인' }).click(); await expect(page).toHaveURL(/\/taxbaik\/admin\/dashboard$/); - await expect(page.getByRole('heading', { name: '대시보드' })).toBeVisible({ timeout: 20_000 }); + await expect(page.getByRole('heading', { name: '대시보드' }).first()).toBeVisible({ timeout: 20_000 }); } export async function navigateInBlazor(page: Page, targetUrl: string) {