fix(game-ui): 징병 모병 최종 자금을 표시한다

This commit is contained in:
2026-08-30 17:15:40 +00:00
parent c769d915a6
commit fa7898b6a2
2 changed files with 21 additions and 6 deletions
@@ -1908,7 +1908,12 @@ test('uses a Ref-style full recruitment page without horizontal overflow on desk
expect(desktopGeometry.bodyOverflow).toBe('hidden');
const infantry = form.getByRole('button', { name: '보병 선택 가능', exact: true });
const estimatedGold = infantry.getByRole('status', { name: '보병 예상 자금' });
await expect(estimatedGold).toHaveText('673금');
await infantry.locator('input[type=number]').fill('100');
await expect(estimatedGold).toHaveText('1,035금');
await infantry.getByRole('button', { name: '절반', exact: true }).click();
await expect(estimatedGold).toHaveText('363금');
await page.screenshot({ path: testInfo.outputPath('recruitment-desktop.png') });
await picker.getByRole('button', { name: '입력', exact: true }).click();
await expect(page.locator('[data-command-scope="general"] .action-column > div').first()).toHaveText(