fix(game-ui): 전투 통계의 의미별 행을 맞춘다
승률·승리·패배와 살상률·사살·피살을 각각 같은 행에 두고 빈 slot을 명시적으로 유지한다. 실제 Chromium 좌표로 내정보와 감찰부 행 배치를 검증하고 지난 플레이의 소수 둘째 자리 기대값도 현재 공통 계약에 맞춘다.
This commit is contained in:
@@ -278,8 +278,8 @@ test('past plays is available without a current general and preserves desktop in
|
||||
await expect(detailToggle).toHaveAttribute('aria-expanded', 'true');
|
||||
await expect(page.locator('.archive-general-card')).toHaveAttribute('data-general-basic-card', '');
|
||||
await expect(page.locator('.archive-general-card [role="progressbar"]')).toHaveCount(14);
|
||||
await expect(page.locator('[data-general-battle-summary]')).toContainText('승률62.5%');
|
||||
await expect(page.locator('[data-general-battle-summary]')).toContainText('살상률75.0%');
|
||||
await expect(page.locator('[data-general-battle-summary]')).toContainText('승률62.50%');
|
||||
await expect(page.locator('[data-general-battle-summary]')).toContainText('살상률75.00%');
|
||||
const hallBattle = page.locator('[data-hall-battle-record]');
|
||||
await expect(hallBattle).toContainText('명예의 전당 보존 기록');
|
||||
await expect(hallBattle).toContainText('항목별 기록 시점이 서로 다를 수 있습니다.');
|
||||
|
||||
Reference in New Issue
Block a user