Skip to content

Commit 9b2eb31

Browse files
committed
test: history 행 검증을 업체명 대신 row selector로 변경
1 parent 3d4f1c5 commit 9b2eb31

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

e2e/history.spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ test.describe('History — authenticated', () => {
66
test('이력 페이지에서 mock 데이터 행이 렌더된다', async ({ page }) => {
77
await page.goto('/history');
88
await expect(page).toHaveURL(/\/history/);
9-
await expect(page.getByText('A업체').first()).toBeVisible({ timeout: 10_000 });
9+
// 업체 컬럼이 빠질 수 있으므로 행 자체의 존재를 검증
10+
await expect(page.locator('tr[role="link"]').first()).toBeVisible({ timeout: 10_000 });
1011
});
1112

1213
test('검색 버튼이 노출되고 필터 드롭다운이 동작한다', async ({ page }) => {

0 commit comments

Comments
 (0)