fix(game-ui): 툴팁 점선 장식을 제거한다
툴팁의 hover와 키보드 focus 동작은 유지하면서 게임 정보에 반복되던 점선·파선 밑줄을 제거한다. 실제 Chromium에서 내정보, 장수 일람, 국가 전략, NPC 선택 흐름을 검증한다.
This commit is contained in:
@@ -1429,6 +1429,7 @@ test('내 정보 항목과 국가 성향은 HTML 리치 툴팁을 마우스와
|
||||
const showWithMouse = async (testId: string, expectedTexts: readonly string[]) => {
|
||||
const trigger = page.locator(`[data-rich-tooltip="${testId}"]`);
|
||||
await expect(trigger).toHaveAttribute('tabindex', '0');
|
||||
await expect(trigger).toHaveCSS('text-decoration-line', 'none');
|
||||
await trigger.hover();
|
||||
await expect(visibleTooltip).toHaveCount(1);
|
||||
await expect(visibleTooltip).toHaveAttribute('role', 'tooltip');
|
||||
|
||||
Reference in New Issue
Block a user