Skip to content

Commit 761357d

Browse files
committed
test: history 행 selector를 신규 테이블 role 변경에 맞춤
1 parent 9b2eb31 commit 761357d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

e2e/history.spec.ts

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

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

0 commit comments

Comments
 (0)