diff --git a/frontend/e2e/research-boundary.spec.ts b/frontend/e2e/research-boundary.spec.ts index 545fa9f7..a9882fb6 100644 --- a/frontend/e2e/research-boundary.spec.ts +++ b/frontend/e2e/research-boundary.spec.ts @@ -2,6 +2,7 @@ import { expect, test } from '@playwright/test' test('research page declares non-production boundary', async ({ page }) => { await page.goto('/research/sell-decision') - await expect(page.getByText('RESEARCH_CANDIDATE_NOT_PRODUCTION')).toBeVisible() + // Use locator with exact match to avoid strict mode violation (header + footer both contain text) + await expect(page.locator('footer').getByText('RESEARCH_CANDIDATE_NOT_PRODUCTION', { exact: true })).toBeVisible() await expect(page.getByText('자동주문 OFF')).toBeVisible() })